Search code examples
mobilewebdockerexportibm-cloud

How to export a project from IBM Bluemix PaaS to anywhere else as a Docker?


I lead a web/mobile project and I still need to know the tools we will be using for development. We have a 6 months access to IBM Bluemix, and its security check tools, CloudFoundry, and others may appear really useful.

However, we don't want to rely on a solution that would trap our project without any possibility of migration if needed.

I looked up on the internet how to export a project from Bluemix as a docker, with elements created from IBM. I didn't find anything relevant (I might be bad at googling, but all I can find is "how to export to Bluemix/how to work locally").

Does Bluemix allow to export the entire project onto another hoster, does it depend on the services we used in the project ?

Thank you in advance.


Solution

  • If you package your application in a container you can run it on any provider that supports Docker. That could be another cloud, in a local datacenter or on your own laptop.

    If you are planning to use Bluemix services as part of that application then you will have two options if moving your application off Bluemix.

    1. Keep using the services in Bluemix but connect to them remotely from wherever you're now hosting your appliaction. This will require internet connectivity and you'll have to hard code the service credentials in to your application (not good practice).

    2. Migrate the services as well as the application. This will only be possible for the non-unique services IBM offer e.g. Redis, Mongo, Elasticsearch etc.. You'll need to refactor your application to accept the new provider of these services.