Image Import (Template-Based Migration)
For single-disk virtual machines, template reuse scenarios, and simple migrations, you can migrate to a virtual server using the image import migration method. This is the most VMware-familiar approach. You export a virtual machine, convert it to a format VPC understands (QCOW2), upload it to Cloud Object Storage, and create a custom image. You then boot a virtual server instance from this custom image, much like deploying from a template in VMware.
Overview of the migration process
The following steps layout the process to migrate using image imports.
-
Export virtual machine from VMware
- From vCenter: Shut down virtual machine, use "Actions → Template → Export OVF Template"
- From VCFaaS: Shut down vApp, download OVA file, extract VMDK
This preserves thin provisioning better than datastore browser downloads
-
Convert VMDK to QCOW2
qemu-img convert -f vmdk -O qcow2 source-vm.vmdk destination-vm.qcow2 -
Upload to IBM Cloud Object Storage
- Create a COS instance and bucket if needed
- Use web upload (for smaller files) or Aspera (for large files)
- Configure bucket access (public read for import, or use authorized service access)
-
Create Custom Image in VPC
- Navigate to VPC → Compute → Images
- Create new image, point to COS URL
- Select appropriate OS type (includes BYOL variants)
- Configure encryption (provider-managed or customer-managed)
-
Provision virtual server instance from Custom Image
- Create virtual server instance selecting your custom image as the boot source
- Configure network, security groups, SSH keys
- virtual server instance boots with a boot volume that's a linked clone of your custom image
Image import design advantages
The following table lists the design advantages of image import migration.
| Design advantage | Description |
|---|---|
| Process | The process is straight-forward process, well-documented, and easy to understand. |
| Template | You can reuse the template. If you have 10 web servers from the same template, you import once and provision 10 times. |
| Managed | The process is IBM-managed. The process is native to VPC and no third-party tools are required. |
Image import design constraints and limitations
The following table describes the constraints and limitations of an image import migration.
| Limitation or Constraint | Description |
|---|---|
| Single Disk Limitation |
This method only handles the boot disk. If your virtual machine has multiple disks, you'll need to:
OR
|
| Image Proliferation | Each unique virtual machine creates a unique custom image. Unlike VMware templates, these aren't true reusable templates—they're snapshots of individual virtual machines. Over time, you'll have dozens or hundreds of one-off custom images in your list. |
| Linked Clone Constraint |
The boot volume maintains a space-efficient linkage to the custom image. This means:
|
| Cloud-Init First Boot |
If cloud-init is installed and configured on your image, VPC may treat the boot as a first boot, potentially:
|
Use image import migration for true template scenarios (deploying multiple identical virtual machines from a base image) and for simple single-disk virtual machines where image management overhead is acceptable.