I was looking over a complex app scenario to be deployed to IBM Bluemix. The solution consisted of multiple apps. Each app required their specific configuration, including the intended URLs. This post will show you how the entire solution could be deployed to Bluemix Cloud Foundry with a single command.
IBM Bluemix allows running applications on Cloud Foundry and comes in three flavors: Public, Bluemix Dedicated and Bluemix Local. In its catalog Bluemix already offers many services, but what if you want to add your own? Maybe you want to make your infrastructure, such as a database cluster or business-specific functionality available in the Bluemix catalog? The answer is to register your own private broker. Here is how to get started.
A great feature of Command Line Interface is its support of plugins that allow to extend its functionality. There are IBM-provided plugins and several coming from the Cloud Foundry ecosystem. Here are some brief instructions on how to get started.
Coming from an environment with a focus on operational and feature stability, consistency and high availability, and now working in the era of Cloud Computing, agile development and continuous everything, products— or better —platforms like IBM Bluemix seem like an entirely different world. Truth is that once I found my bearings, once I knew how to navigate within the world of Bluemix, I started feeling at home. Here is what I learned, the first installment of my “how to bluemix”.
Recently, I wrote a hybrid Bluemix app which only utilized one of the provided runtimes (Python, node.js, Java, ...). The data for the app was hosted on-premise, outside the Bluemix cloud environment. As I wanted to keep my app as generic as possible, I searched for a way of how to link Bluemix app and the on-premise database. Apps sometimes store configuration data as constants in the code. However, this is a violation of the Twelve-Factor App principles. The configurations may vary across different app deployments, the code does not. So I looked into how to put the configuration principle into practice for my Bluemix app.