Blue-Green Deployment runs two identical production environments—Blue (current) and Green (new version). Users on Blue, you deploy to Green, test it, then switch traffic from Blue to Green. If something breaks, instant rollback by switching back to Blue. Zero downtime, instant rollback. Alternative to risky "take site down, deploy, hope it works" approach. Common in mature engineering orgs.
Use Blue-Green when you need zero-downtime deployments, instant rollback capability, or want to test production environment before users see it. Great for customer-facing apps where downtime is unacceptable. Requires infrastructure to run two environments (costs 2x during deploy). Simpler alternative: rolling deployments (deploy gradually to servers). Platforms like Vercel do this automatically.
System Design Patterns
Zero-downtime releases