A cdk app which spin up an ECS fargate cluster behind a network load balancer with containers serves as simple hello rest api.
A quick way for devops to test integration between ECS and other AWS resources or test network connectivity between ECS and other AWS resources.
Make sure you have configured aws properly. e.g. using aws configure
or export necessary environment variables.
Then run
cdk bootstrap
cdk deploy
Then the app will be deployed tous-east-1
region. You can change the region in/bin/cdk-ecs.ts
file.