๐ŸŽ 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

Kubernetes Secret
A Kubernetes object for storing sensitive data like passwords, tokens, and certificates, with base64 encoding and optional encryption at rest.
Pipeline as Code
Defining CI/CD pipeline configurations as version-controlled code files rather than through UI-based pipeline builders.
Trunk-Based Development
A source control strategy where developers integrate small changes directly into the main branch frequently, often multiple times per day.
Artifact
A packaged, versioned output of a build process โ€” such as a Docker image, JAR file, or compiled binary โ€” ready for deployment.
Continuous Deployment
A practice where every code change that passes automated tests is automatically deployed to production.
Makefile
A file containing build rules and commands that automates compilation and common project tasks using the make utility.
View All DevOps Terms โ†’