In this post we will create a Continuous Integration and Continuous Deployment pipeline using AWS CodeCommit, CodeBuild, ECR & CodePipeline. All of the infrastructure created here will automated using Cloud Formation templates. First we create a git repository in AWS Code Commit using cloud formation template
We will create a yaml file with the code below called ecs-cluster.yaml Validate ecs-cluster.yml using the awscli Deploy ecs-cluster.yml using the awscli.
We will create a yaml file with the code below called code-pipeline.yaml