https://github.com/signiant/aws-status-updater
Updates an icon depending on whether there are outages on the AWS status page
https://github.com/signiant/aws-status-updater
Last synced: 6 months ago
JSON representation
Updates an icon depending on whether there are outages on the AWS status page
- Host: GitHub
- URL: https://github.com/signiant/aws-status-updater
- Owner: Signiant
- License: mit
- Created: 2016-02-04T13:06:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T19:21:21.000Z (almost 9 years ago)
- Last Synced: 2025-03-05T13:49:09.325Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-status-updater
Updates an icon depending on whether there are outages on the AWS status page
This consists of 2 scripts:
* A python script (written by Ryan Hartkopf) which checks the AWS status page for outages
* A shell script which checks the result of this and uploads either a green or red icon to an S3 bucket
The shell script is intended to be run from cron or as a scheduled AWS ECS task on a fairly tight frequency (ie. 1 minute)
We use this to integrate with an on-call system. The idea is that in the on-call system, we have a link to the image file in the S3 bucket. When we are called, the icon displays red or green depending on whether AWS has any outages at the time.
# Running from the command line
If you wish to run from the command line, a sample docker run command is
```bash
docker run \
-e AWS_ACCESS_KEY_ID='YOUR_AK' \
-e AWS_SECRET_ACCESS_KEY='YOUR SK' \
signiant/aws-status-updater s3://mybucket/mykey/aws-status-icon.png
```