From the course: Continuous Deployment Strategies by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Strategy overview

Strategy overview

Let's take a look at the blue-green deployment strategy and try to understand what it is and how it works. Blue-green deployments are sometimes called red-black, especially if Netflix is involved. It doesn't matter what colors you use, as long as you understand that there are two states, a current version and a new version. In blue-green deployments, the key component is the router. This could be a load balancer or another network switching mechanism that lets you flip the switch and route traffic from one environment to another in one quick movement. And of course, another very important component is your current version that's already working in production. It has everything it needs. It's working properly, and traffic is flowing to it without issue. This is considered the blue version. Then when there's a new version that needs to be deployed, you want to build up a second environment identical to the current production environment. This is the green version. As an aside, if you…

Contents