blue green deployment on heroku or another cloud platform as a service

南楼画角 提交于 2019-12-06 03:19:36

问题


We're currently running a Ruby on Rails project (RefineryCMS) on Heroku with two dynos.

Every time we update the site we experience downtime for about 1 to 2 minutes. Management are not happy about this.

What we'd really like is some sort of (transparent) Blue-Green Deployment: http://martinfowler.com/bliki/BlueGreenDeployment.html

Is this possible to achieve on Heroku or another cloud platform as a service?

We're also using Unicorn, but happy to change if necessary.


回答1:


Have a look at Heroku pre-boot it's a labs feature but sounds like exactly what you need.




回答2:


Heroku don't support Blue/Green deployment.

I open an issue on that to Heroku support and they reply that Cedar stack wasn't designed for that. So you can't really prevent downtimes

The preboot feature will not help you if your application failed to start(due to config issue or large migration at part of the start-up phase).



来源:https://stackoverflow.com/questions/15500530/blue-green-deployment-on-heroku-or-another-cloud-platform-as-a-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!