madetech / productionisation

The Made Tech Productionisation Checklist for Software Projects
https://productionisation.io/
Creative Commons Attribution 4.0 International
7 stars 2 forks source link

Why is there a manual flip in blue green deployments? #19

Closed booyaa closed 5 years ago

booyaa commented 5 years ago

Reference: Section 5.1.6

5.1.6 Manual step to flip between blue/green environment

Why not go fully automatic i.e. Heroku's pre-boot. CloudFoundry has plugins that also do this automatically.

davidwinter commented 5 years ago

Only because it's been the Made way since forever, but if we have the manual step to initiate a production deploy, doing the actual flip might be less of a requirement these days.

Normally there would be manual verification after a blue/green deploy, before flip, just to ensure everything worked as expected.

antdking commented 5 years ago

I think a rewording of "manual step to deploy to production" will catch both cases. 5.1.4 would become:

Manual step to deploy to live production environment

This allows for an automated deploy to green, but manual flip to blue

booyaa commented 5 years ago

Updated my response after revisiting the checklist. I think I have a better understanding about blue/green deployments and understand the manual step before initiating the production deploy.