Blue-Green Deploy
Question
What is a blue-green deployment?
Hint
Blue-green enables zero-downtime deployments.
Explanation
Blue-green deployment maintains two identical production environments (blue and green). Only one serves traffic at a time. Deploy the new version to the inactive environment, test it, then switch traffic (router/load balancer). If issues arise, switch back instantly (rollback). Benefits: zero downtime, instant rollback, testing in production-like environment. Drawbacks: requires double infrastructure, database migrations need careful handling. Variants: canary (gradual traffic shift), rolling (update instances one by one). Use blue-green for services that need zero downtime.
Related Resources
Related Lessons
- Deployment
Learn deployment.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.