K10Intermediate

Blue-Green Deployment

20 minOnce

Format: Understand zero-downtime deployment strategies.

Blue-Green Deployment:

Blue environment (current version) <- All traffic goes here
Green environment (new version) <- Deploy new code, tests pass

Switch: Route traffic from blue to green
Rollback: If there's a problem, route traffic back to blue

Pros: Zero downtime + instant rollback
Cons: Requires two environments (doubles the cost)

Exercise: Does your project have downtime during deployment? If so, how can you reduce it to zero?

My Notes