A flexible way for passing parameters during the deployment using IBM SmartCloud Provisioning

Share this post:

I really liked the post “Rapid deployments with IBM SmartCloud Provisioning” that explains how simple and fast it is to deploy instances using IBM SmartCloud Provisioning.

But it is also important to have a flexible way for passing parameters during the deployment in order to configure or customize the deployed instances.

IBM SmartCloud Provisioning provides, in the launch instance panel and also using the CLI, the “user_data” text field that can be used for this scope.

It is inspired by the Amazon EC2 instance metadata; you can find an interesting article about it at the following address:

The “user_data” field is a free text field so for example it can contain:

  • Comma separated values for simple configurations
  • Multi-part MIME format for complex configurations, where each part, identified by a proper content-type, is related to a specific customization.

The launched instance can easily retrieve the user_data field by invoking the predefined URL and processes it according the needs.

The capability to retrieve and process user data can be achieved by: exploiting the current integration between IBM SmartCloud Provisioning and the Image Construction and Composition Tool (ICCT), which is available in IBM SmartCloud Provisioning version 1.2; creating a new bundle, which is the User-Data consumer bundle that contains a script that retrieves the “user-data;” and processing it based on the user’s needs.

An interesting scenario is the capability of passing directly one or more scripts to be invoked at deployment time to have a really dynamic configuration. In this way, a new image can be configured or customized at deployment time.

For more information about user-data capabilities and examples, see the Ubuntu cloud-init component description at

To try out IBM SmartCloud Provisioning free for 30 days, explore the trial going on now.

For further information about IBM SmartCloud Provisioning and the Image Construction and Composition Tool see IBM SmartCloud Provisioning Information Center.

More stories

Why we added new map tools to Netcool

I had the opportunity to visit a number of telecommunications clients using IBM Netcool over the last year. We frequently discussed the benefits of have a geographically mapped view of topology. Not just because it was nice “eye candy” in the Network Operations Center (NOC), but because it gives an important geographically-based view of network […]

Continue reading

How to streamline continuous delivery through better auditing

IT managers, does this sound familiar? Just when everything is running smoothly, you encounter the release management process in place for upgrading business applications in the production environment. You get an error notification in one of the workflows running the release management process. It can be especially frustrating when the error is coming from the […]

Continue reading

Want to see the latest from WebSphere Liberty? Join our webcast

We just released the latest release of WebSphere Liberty, It includes many new enhancements to its security, database management and overall performance. Interested in what’s new? Join our webcast on January 11, 2017. Why? Read on. I used to take time to reflect on the year behind me as the calendar year closed out, […]

Continue reading