Provision with a cloud-init enabled image


You can now order and provision virtual servers faster by selecting from the following operating systems. When you order one of the following operating systems for your virtual server without selecting additional software, post-provisioning scripts, or advanced monitoring, a cloud-init enabled image is used by default to optimize the provisioning time.

  • CentOS 7
  • Debian 8
  • Ubuntu 16
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2016

Import a customized cloud-init enabled image

If you’ve created a customized image that’s cloud-init enabled, you can designate it as a cloud-init image on the Import Image page of the Customer Portal.

To access the Import Image page of Image Templates and mark an image as cloud-init enabled, complete the following steps:

  1. From the Devices menu select Manage > Images.
  2. Click the Import Image tab.
  3. Complete the required information for importing your cloud-init enabled image, and select the Cloud init checkbox that’s shown near the Operating System dropdown box. For more information about importing images, see Import an Image.

Mark an image template as cloud-init enabled

If you have an existing VHD image template that is cloud-init enabled, you can designate it as cloud-init enabled on the details page of the image template.

To access an image template and mark it as cloud-init enabled, complete the following steps:

  1. From the Devices menu select Manage > Images.
  2. From the list of templates, click the image template name that you want to update.
  3. On the Image Template Details page, select the Enabled checkbox under the Cloud Init heading, and click Update.

Work with a standard image created from a cloud-init provisioned virtual server

Cloud-init typically only runs once. However, if you provision a virtual server from a cloud-init enabled image and subsequently create a standard image template from that virtual server, the UUID is recorded. If that standard image template is used to create another virtual server, cloud-init runs again.

Create image templates that are cloud-init enabled

For information about configuring images, see cloud-init documentation.

For information about datasources, see Datasources. Bluemix Infrastructure cloud-init images are created for the environment by using the Config Drive - Version 2 datasource to supply the metadata.

Linux requirements

  • Cloud-init version 0.7.7 or greater

Windows requirements