Glossary

Blue/green deployment

A blue/green deployment runs the new version as a parallel environment, verifies it, then switches all traffic at once. Reverting is the same switch back.

Short answer

What is blue/green deployment?

A blue/green deployment runs the new version as a parallel environment, verifies it, then switches all traffic at once. Reverting is the same switch back.

Explained two ways

Plain and technical

In plain terms

You build a second copy of your environment with the new version, check it, then move everyone over in one step. If something is wrong, you move everyone back just as quickly.

Technically

Blue/green provides the fastest reversion of any strategy because the previous environment remains running and intact. Its costs are the doubled capacity during the overlap and the fact that shared stateful dependencies, especially databases, are not duplicated, so schema compatibility between versions remains a constraint.

Example

What it looks like in practice

The green environment runs the new release and is verified with synthetic traffic. The load balancer switches from blue to green in one operation. Blue stays running for an hour in case reversion is needed.
Keep going

More definitions

See these concepts in a running system

A 30-minute walkthrough against your own infrastructure rather than a slide about the theory.