🎁 New User? Get 20% off your first purchase with code NEWUSER20 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

GitHub Actions
A CI/CD platform integrated into GitHub that automates build, test, and deployment workflows using YAML configuration.
Immutable Infrastructure
An approach where servers are never modified after deployment — changes require building and deploying entirely new server instances.
Helm
A package manager for Kubernetes that simplifies deploying and managing applications using reusable, configurable charts.
Vault
A tool by HashiCorp for securely managing secrets, encryption keys, and certificates with dynamic secret generation.
CI/CD
Continuous Integration and Continuous Deployment — automated practices for building, testing, and deploying code changes.
Postmortem
A structured analysis conducted after an incident to understand what happened, why, and how to prevent recurrence — without assigning blame.
View All DevOps Terms →