Here’s a video I’ve made showing you how to deploy new versions of an application on IBM Bluemix without the end-user having to suffer any down time:
Utilising the Blue Green deployment pattern, we deploy the new version to a separate host within the production environment, rather than taking down and updating the existing application. The HTTP router in front of the applications controls tunnelling application requests between the different versions. Once we verified the new version is working correctly, we can turn off the previous version and transfer all traffic to the new instance.
This complex deployment pattern is automatically supported by the Cloud Foundry technology underpinning IBM Bluemix.
Staging multiple versions of an application, bound to the same external address, with automatic load balancing is handled transparently by the platform.
This works for any language or runtime without any modifications to your application.
There are a few different ways to achieve this deployment approach using the platform. The example in the video only uses three commands with the ‘cf’ tool.
1 2 3 4 5 6 7 8 9 10