BlueGreenDeployment (2010)
martinfowler.com
BlueGreenDeployment (2010)
1–10 of 38 posts
Re: BlueGreenDeployment (2010)
#2btw article is 4 years old
Re: BlueGreenDeployment (2010)
#3This can be implemented easy using Ansible http://docs.ansible.com/guide_rolling_upgrade.html btw article is 4 years old
It's also worth noting that this use case is actually pretty hard to model in ansible without external tools or the like. You basically need to deploy four jobs:
- deploy new code to inactive environment
- switch persona from inactive to active
- reconfigure load balancer to send to newly active
- switch formerly active persona to inactive
within some or all of those individual tasks you might want to apply these rolling techniques. But since rollouts may not be idempotent and this process isn't transactional, you have to be very careful indeed to code this out.
Re: BlueGreenDeployment (2010)
#4Re: BlueGreenDeployment (2010)
#5This can be implemented easy using Ansible http://docs.ansible.com/guide_rolling_upgrade.html btw article is 4 years old
Re: BlueGreenDeployment (2010)
#6However, now that Elastic Beanstalk supports incremental rollouts I don't see as much value in the approach.
We use Blue/Green deployments (with AWS EB) at Mi9 to deploy all our high traffic websites
Re: BlueGreenDeployment (2010)
#7http://continuousdelivery.com/wp-content/uploads/2014/02/01_...
http://continuousdelivery.com/wp-content/uploads/2014/02/02_...
http://continuousdelivery.com/wp-content/uploads/2014/02/03_...
http://continuousdelivery.com/wp-content/uploads/2014/02/04_...
Re: BlueGreenDeployment (2010)
#8Re: BlueGreenDeployment (2010)
#9The idea reminds me of double-buffering. I wonder if there are other parallels that can be drawn (pun not intended) from the similarities
Re: BlueGreenDeployment (2010)
#10If Blue is in production and Green is on deck, how are updates to the Blue database pushed to Green?