Creating an Instance from a Bootable Volume
You can create a persistent instance by first creating a bootable volume from an image which we have covered in a previous how-to. Let’s walk through that process now.
The workflow to deploy an instance from a bootable volume is as follows.
- Navigate to the Instances section. Click + NEW VM INSTANCE:
- Select Volume as the source type:
- Select the volume you wish to use: Click NEXT
- Select a flavor for the new instance. Be sure to check the flag to make the volume bootable.
- Select one or more networks the new instance should be connected to.
- Complete the basic configuration information for the new instance: If a security group is not selected, the default security group will be selected.
- The next step allows you to customize your new instance after launch using cloud-init. For some examples cloud-init scripts see this documentation. Click NEXT
- Review the new instance settings. If adjustments are needed, click CREATE INSTANCE:
NOTE: When booting a VM instance from a volume, a new disk is not created, instead the volume becomes the disk for the VM. The disk size specified in the flavor is ignored.
Your new instance will be available to manage under the Instance section in the portal.