From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Blue-green deployment strategy

Blue-green deployment strategy - Amazon Web Services (AWS) Tutorial

From the course: Deploying Your AWS Application to the Cloud with Docker

Start my 1-month free trial

Blue-green deployment strategy

- [Instructor] Before we do our blue/green deployment, let's go over some basics first. Since we are using a load balancer, which is used to direct traffic to a group of targets, this means that we can have a running production version, which we called the blue version, alongside a green one with just the code change we're about to deploy. With the ability to quickly switch back to the blue deployment if needed, we can test our new feature in the green deployment. And in the off-chance that things go wrong, we can simply delete the green deployment from ECS and switch back to the blue deployment that we know works with zero downtime. This feature alone should be enough for you to consider blue/green deployments as a solid strategy for your future web application deployments. But enough about the definition. Let's go see what that looks like using ECS and CodeDeploy.

Contents