Based on https://github.com/pahud/ecs-cfn-refarch, it will setup:
- simple php container in AWS Fargate
- various task autoscaling using target tracking
- a very simple CW Dashboard (WIP)
Note: use apache bench (ab) to load test the ALB endpoint to see it autoscale.
nvm install 8.12.0
nvm alias default v8.12.0npm installnpx cdk diffnpx cdk deploy --require-approval never
npx cdk destroy