Skip to content

enghwa/Fargate-Target-Tracking-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?

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.

get nodejs

nvm install 8.12.0 

nvm alias default v8.12.0

install node modules

npm install

show the aw resources that cdk will create

npx cdk diff

make sure your aws cli is setup (eg: aws cloudformation), deploy the aws resources

npx cdk deploy --require-approval never

remove all resources:

npx cdk destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published