This is meant to be an intro intro into using CDK to show it's capabilities. Relevant sources for some of the code (specifically the Fargate/VPC/Cluster part of it) can be found in the free version of the project here.
-
cdk boostrap
used to setup s3 bucket to hold your code, necessary before deploying for the first time. -
npm run build
compile typescript to js -
npm run watch
watch for changes and compile -
npm run test
perform the jest unit tests -
cdk deploy
deploy this stack to your default AWS account/region -
cdk diff
compare deployed stack with current state -
cdk synth
emits the synthesized CloudFormation template