Serverless monitoring adaptable for any resource
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
cloudformation.yml
readme.md

readme.md

Customizable monitoring with AWS Lambda

Prerequisities

  • aws cli installed (test with aws --version)
  • an access and a secret key
  • aws cli configured (do with aws configure)
  • an S3 bucket you'll upload the code

Package

  • cd src && npm i && cd .. && mkdir -p .tmp && aws cloudformation package --template-file cloudformation.yml --s3-bucket <bucket> --output-template-file .tmp/output.yml

Deploy

  • aws cloudformation deploy --template-file .tmp/output.yml --stack-name <stack name> --capabilities CAPABILITY_IAM
  • You can also override the default 1-minute rate with --parameter-overrides "ScheduleExpression=rate(10 minutes)"