Promptles
DevOps & Deployment

Blue-Green Deployment

advanced

Definition

A way of releasing a new version of an app with no downtime. You set up the new version on a second, identical environment running quietly alongside the live one. Once it's tested and looks good, you flip all visitors over to the new environment in an instant. And if something goes wrong, you flip back just as fast.

In the wild

A booking site has its current version (call it 'blue') serving every customer. The team sets up the new version on an identical 'green' environment, runs their checks, and then flicks a switch: every visitor instantly lands on green. If errors start popping up, one more flick puts everyone safely back on blue.

More from DevOps & Deployment