Demo ECS Service Auto Scaling with the CDK and Fargate.
Branches:
master
builds basic service CDK stackscale-by-cpu
extends stack with a target tracking scaling policy (CPU utilization)scale-by-request-count
extends stack with a target tracking scaling policy (Target Request Count)scheduled-scaling
extends stack with a scheduled scaling example
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template