This is a CDK project that creates an ECS cluster with a Fargate service and a load balancer to expose the service to the internet.
The Dockerfile associated contains a simple apache web server that serves a static html page.
AWS CDK deploys the following resources:
- VPC
- ECS Cluster
- Fargate Service
- Load Balancer
- Security Groups
cdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template