What is Blue / Green deployment?

It is a software deployment method that involves maintaining two identical production environments.

🔄

Definition

It is a software deployment method that involves maintaining two identical production environments, with one environment (blue) running the current version of the application and the other (green) running the new version.

🚦

Traffic Switching

Only one environment is receiving live traffic at any given time, with all production traffic directed to it, while the inactive environment is used for testing and rolling out new changes.

🔁

Rollback

If issues arise with the new version, traffic can be instantly switched back to the previous live environment, minimizing downtime and risk.

🌐

Goal

The method aims to reduce downtime during deployments by instantly redirecting requests from one environment to the other.