Skip to content

clarizalooktech/cdk-ecs-fargate-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECS Fargate Service Example

Deploying ECS fargate container with AWS CDK v2 typescript.

Deploy a fargate service having a nginx server container. The Ecs services passes information of the dynamo db to store the creation of messages and its id.

File structure

/lib/ecs-construct-example-stack.ts where the defined stack is located

Screehots

  1. Cdk synth json file https://github.com/clarizalooktech/cdk-ecs-fargate-example/blob/master/assets/cdk_synth.json

  2. Example of the cdk synth Example of the cdk synth

  3. Cdk Deploy Cdk Deploy

  4. How it looks like in CloudFormation How it looks like in CloudFormation

  5. How the ECS looked like How the ECS looked like

Useful commands

  • npx cdk diff compare deployed stack with current state
  • npx cdk synth emits the synthesized CloudFormation template
  • npx cdk deploy deploy this stack to your default AWS account/region

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published