Skip to content

five510/lambda-web-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

  1. Running docker container with
$ sudo docker build ./ --no-cache -t lambda-deployment
$ sudo docker run --rm \
-e AWS_ACCESS_KEY_ID="" \
-e AWS_SECRET_ACCESS_KEY="" \
-it lambda-deployment bash
  1. deploy it
$ aws cloudformation package \
  --s3-bucket ${YOUR_S3_BUCKET} \
  --template-file lambda.yml \
  --output-template-file packaged-template.yml 

$ aws cloudformation deploy \
  --template-file packaged-template.yml \
  --stack-name goto-new-stack-web-monitor \
  --parameter-overrides \
  LambdaExecutionRole=arn:aws:iam::${ACCOUNT_NUMBER}:role/LambdaExecutionRole 

Monitor metrics

  • Status code
  • response time

About

lambda-web-monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published