Offline Migration

Last Updated At: 2025-11-26 15:01:26

Overview

Service migration is a migration platform developed to facilitate enterprise users to move to the cloud. The migration platform can migrate the operating system, applications, and application data of the source host to a Cloud Virtual Machine (CVM) or Cloud Block Storage (CBS) to meet business needs such as enterprise cloud migration, cross-cloud platform migration, cross-account/region migration, or hybrid cloud deployment.

Service migration currently includes offline migration and online migration. Offline migration includes the following two types:

  • Offline instance migration: migrate the system disk image to the specified Cloud Virtual Machine.
  • Offline data migration: migrate the data disk image to the specified Cloud Block Storage.

Prerequisites

Offline migration requires the support of Cloud Object Storage (COS). Ensure that your region is within the COS support range.

Preparations

Note:

- Currently, the image formats supported by service migration are: qcow2, vhd, vmdk, and raw. It is recommended to use a compressed image format to save transmission and migration time.
- The COS region where you upload the image must be consistent with the region of the Cloud Virtual Machine you will migrate to.
- During offline migration, the uploaded image file cannot be larger than the capacity of the disk to be migrated. If the image file is 50G, the minimum system disk size of the migrated instance is 50G.

  • Create an image file for the server to be migrated according to the image creation document.
  • Upload the created image file to COS.
    • Since image files are generally large and web uploads are prone to disconnection, it is recommended to use COSCMD to upload image files. For detailed operations, see the COSCMD Tool Documentation.
    • If the image you exported from other cloud platforms is in a compressed package format (such as .tar.gz), you do not need to decompress it yourself, but can directly upload it to COS and migrate it.
  • Obtain the COS address where the image is uploaded.
    • In the Cloud Object Storage console, find the image file you just uploaded, view the file information, and obtain the file link.
  • Prepare the Cloud Virtual Machine or Cloud Block Storage to be migrated.

Directions

Offline Instance Migration

  1. Log in to the CVM Console.
  2. In the left navigation, click Service Migration.
  3. Click Create Instance Migration.
  4. Prepare and confirm that the migration preparations have been established, and click Next.
  5. Select your region, enter the task name, COS link, Cloud Virtual Machine to be migrated and other migration configuration information, and click Finish to create the migration task.
    Return to the offline data migration management page to view the progress of the migration task.
    Note:
    • The system disk capacity of the migrated instance cannot be less than the size of the uploaded image file, otherwise the task will fail.

Offline Data Migration

  1. Log in to the CVM Console.
  2. In the left navigation, click Service Migration.
  3. Click Create Data Migration.
  4. Prepare and confirm that the migration preparations have been established, and click Next.
  5. Select your region, enter the task name, COS link, Cloud Block Storage to be migrated and other migration configuration information, and click Finish to create the migration.
    Note:

    The capacity of the migrated Cloud Block Storage cannot be less than the size of the uploaded image file, otherwise the task will fail.

FAQs

For details, please see Service Migration Class.