A flexible way for passing parameters during the deployment using SmartCloud Provisioning
Pino 100000UGHN Visits (2311)
I really liked the post “Rapid deployments with IBM
SmartCloud Provisioning” that explains
how simple and fast it is to deploy instances using SmartCloud Provisioning.
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.
inspired to the Amazon EC2 instance metadata and here you can find an interesting
article on it: http
The “user_data” field is a free text field so for example it can contain:
launched instance can easily retrieve the user data field invoking the
predefined URL http
It can be achieved by exploiting the current integration between IBM SmartCloud Provisioning and the Image Construction and Composition Tool (ICCT), available in IBM SmartCloud Provisioning version 1.2, creating a new bundle, the User-Data consumer bundle that contains a script that retrieves the “user-data” and process it based on his 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 conf
If you want
to have more information on user-data capabilities and examples take a look at
the Ubuntu cloud-init component described here http
For further information about IBM SmartCloud Provisioning and Image Construction and Composition Tool see IBM SmartCloud Provisioning Information Center.