Skip to content

Sends Covid metrics to CloudWatch and pages you if they breach a threshold

Notifications You must be signed in to change notification settings

jasmaa/covid-pager

Repository files navigation

CovidPager

Sends Covid metrics to CloudWatch and pages you if they breach a threshold.

Development

Lambda can be tested locally with Docker using RIE:

docker build -t covid_pager .
docker run -p 9000:8080 covid_pager:latest

# Query lambda from another terminal
# NOTE: Data payload needs to be double-quote (poison cannot parse single-quote)
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d "{}"

Deploy to AWS

Create deployment/.env using sample deployment/sample.env and fill in email(s).

Ensure Docker is installed and running.

cd deployment
npm i -g aws-cdk
npm install
cdk deploy --all

Acknowledgements

About

Sends Covid metrics to CloudWatch and pages you if they breach a threshold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published