Blue/Green Deployment for Autoscaling Groups with CodePipeline, CodeBuild and CodeDeploy (Part 7/7)

Leon Jalfon
RhinOps by Sela
Published in
2 min readMay 1, 2020

In this 7-parts tutorial we will create an initial environment composed by an autoscaling group with two ubuntu machines behind a load balancer, then we will create a CI/CD pipeline to provide blue/green deployments using CodeBuild, CodeDeploy and CodePipeline.

Step 7: Putting all together

Finally let’s make a change in the code and see how all the process works

Trigger the Pipeline

Update the index.html to change the background color from “#0188cc” to “#de660b”

A new pipeline will be triggered automatically

Wait until the pipeline finish and browse to the load balancer DNS

--

--