Image Import (Template-Based Migration)
Migrate single-disk VMware VMs to VPC by exporting to OVF, converting to QCOW2, uploading to Cloud Object Storage, and creating custom images for deployment.
Overview of the migration process
The following steps layout the process to migrate by 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
The preceding approach preserves thin provisioning better than data store 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 an IBM Cloud® Object Storage 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
- Go to VPC → Compute → Images
- Create new image, point to IBM Cloud Object Storage URL
- Select the appropriate OS type (includes BYOL variants)
- Configure encryption (provider-managed or customer-managed)
-
Provision virtual server instance from Custom Image
- Create virtual server instance by 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 a 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 handles only the boot disk. If your virtual machine has multiple disks, you 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 might 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.