heidloff.net - Building is my Passion
Post
Cancel

Zero Downtime Deployments for Bluemix Apps

Here is a quick tip for how to deploy new versions of your apps without downtimes. We use this technique to update Bluemix.info, the news aggregator for IBM Bluemix professionals. The information below isn’t new and has been documented before, but I thought I share it if people are new to Bluemix. It was certainly something I wasn’t aware of until recently.

There is a technique called Blue-Green Deployments. The basic mechanism is straight forward:
1) Deploy the new version of your app in parallel to your current version with a different name
2) Use the same route (URL) for the old and the new version so that both versions are active at the same time
3) Remove the old version

Read the Bluemix documentation for details. There is also a script to invoke the three steps. My colleague James Thomas has created a short video demonstrating this functionality.

You can also leverage this technique when using IBM DevOps. Check out this article.

Featured Blog Posts
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Trending Tags