This demo was presented at the AWS Summit @ Cape Town on Jul 12th.
You can find the slides here.
- index.js: The node.js code used for AWS Lambda
- sam_template.yaml: The AWS SAM template in YAML format (i.e. CloudFormation)
- scripts: Four scripts used to showcase the live deployment rollback.
- script_deploy.sh: It packages and deploys the AWS SAM template, then it shows the
ENDPOINT
Output - script_poll.sh: It polls a given URL forever and stores responses and timings in a txt file
- script_tail.sh: It tails the txt file that contains responses and timings to show live responses
- script_stats.sh: It reads the txt file and counts OK and KO responses to show some statistics
- script_deploy.sh: It packages and deploys the AWS SAM template, then it shows the
Feel free to reach out to me on Twitter if you need help or if you just want to say hi :)