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.

Appropriate tools

Appropriate tools

Let's talk about some of the tools we'll need to implement blue-green deployments. As I've already mentioned, one of the key components of blue-green deployment strategy is the router. A router is simply something that directs traffic from point A to point B. The key in in this deployment strategy is the ability to tell the router to change its target, to change its point B. And in the case of a rollback, we want to be able to change that from point B back to whatever it was before. For backends, a load balancer is the common router. You can just tell a load balancer which cluster to target and you have effectively switched the blue to green. For web-based frontends, I will often use something like a CDN as my router. It's pretty easy to just tell a CDN to change its target to a new static site. The change takes only as long as the update to the nodes on the CDN, which is usually fairly quick. In other cases, you might need a few different routers, all handling different aspects of…

Contents