The primary objective of this article is to explain how to create an AWS CodePipeline that uses blue/green deployment for container applications when a new Docker image is pushed to the ECR. This pipeline recognizes changes in your Docker image stored in ECR, and leverages AWS CodeDeploy to divert and deploy traffic to an ECS cluster and load balancer.