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 hashes)

Uploaded Source

Supported by

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