Skip to main content

No project description provided

Project description

# oh-my-aws-outage
Simple wrapper around the AWS API to create an outage for a few services.

# Usage

```python
from aws_outage.network_outage import NetworkOutage

# Network outage of one AZ for one or more vpcs
print('[~] Taking service down...')
outage_duration = 30
vpc = 'some-vpc-name'
with NetworkOutage('eu-central-1', 'eu-central-1a', outage_duration, vpc) as o:
print(f'[+] Service is now down for {outage_duration} seconds!')
o.outage(duration=outage_duration)
print('[+] Service restored!')
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oh-my-aws-outage-v0.1.3.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file oh-my-aws-outage-v0.1.3.tar.gz.

File metadata

  • Download URL: oh-my-aws-outage-v0.1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for oh-my-aws-outage-v0.1.3.tar.gz
Algorithm Hash digest
SHA256 235edabbdbb05989af980b60de7ddbdb482d34c6921f534c94805af12385da84
MD5 fcb5cd35e05c2aa9d8985fbafa2c72fd
BLAKE2b-256 72f235000f19c566c0aabbbffeb7b909b991e85e0a5c3d7d0a057d18697be60d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page