Infrastructure As Code (IaC) using AWS CDK with Typescript to create a complete serverless application.
The cdk.json
file tells the CDK Toolkit how to execute your app.
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
Use the Config file to manage the dynamic values
- VPC
- Subnets x 3
- Private
- Public
- Subnets x 3
- ECR
- ECR Lifecycle Rules
- ECS
- Task Definition
- Service
- Application Load Balancer
- Listner
- Security Groups
- Fargate task