๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

DevOps Intermediate

What is Blue-Green Deployment?

A deployment strategy using two identical environments where traffic is switched from the old version to the new one instantly.

Blue-green deployment maintains two identical production environments. "Blue" runs the current version while "Green" receives the new deployment. After testing Green, traffic is switched from Blue to Green. If issues arise, instant rollback switches back to Blue.

This eliminates downtime during deployments and reduces risk. Challenges include database migrations (both versions must be compatible), double infrastructure costs, and session management during the switch.

Related Terms

Git
A distributed version control system that tracks changes in source code during software development.
Postmortem
A structured analysis conducted after an incident to understand what happened, why, and how to prevent recurrence โ€” without assigning blame.
Nginx
A high-performance web server and reverse proxy known for its stability, low resource usage, and ability to handle many concurrent connections.
Pipeline as Code
Defining CI/CD pipeline configurations as version-controlled code files rather than through UI-based pipeline builders.
GitOps
A practice where Git repositories serve as the single source of truth for both application code and infrastructure configuration.
Containerization
A lightweight virtualization method that packages applications with their dependencies into isolated, portable containers.
View All DevOps Terms โ†’