Let’s see DevOps Pipeline in Action with Blue/Green Deployment for Amazon ECS with AWS Fargate
Open the CodePipeline console
default region from top section.
Select the Pipeline name, For example
Either modify, commit and push changes in CodeCommit Repository OR Release change to test the CodePipeline.
Once Source stage and Build stage completes and Deploy stage starts, click on details.
Blue Green deployment takes place, having first Replacement tasks getting created (pending state) with new deployment.
AWS Fargate completes deploying new deployment in newly created tasks.
As next step, traffic switch over from Original tasks to Replacement tasks and then Original tasks are terminated.
Open the load balancer
tripmgmtdemo-alb DNS URL in Web browser (i.e. http://tripmgmtdemo-alb-xxxxx) and verify running Application.