This is a simple application to deploy instances in autoscaling group behind a Load Balancer, which have access to Aurora MySQL database and a shared filesystem through EFS
The cdk.json
file tells the CDK Toolkit how to execute your app and has the environment
settings [Currently only dev].
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 templatecdk deploy -c config=dev
will deploy the infrastructure using the dev environment configurations