This topic describes how to migrate data between Alibaba Cloud virtual machines (VMs)

Background information

If you want to migrate data between Alibaba Cloud VMs, we recommend that you use the Copy Image and Share Image features. For more information, see Copy custom images and Share or unshare custom images. If these two features cannot meet your business requirements, you can use the methods that are described in the following scenarios:

Migrate data between Alibaba Cloud VMs within the same virtual private cloud (VPC)

You can use this migration method to decrease the disk size of an ECS instance. For more information, see Decrease the size of a disk.

We recommend that you select VPC as the network type when you create a migration task. Compared with migration over the public network, migration over the VPC is more efficient and stable. For more information, see Step 2: Create and start a migration task.

Migrate data between Windows-based Alibaba Cloud VMs across VPCs

You can use this migration method to migrate data between Windows-based Alibaba Cloud VMs across accounts, regions, or VPCs.

Before the migration, complete the following preparations:
  • Create snapshots to back up data.
  • Check the validity of your application licenses.

    After you migrate data between Alibaba Cloud VMs across VPCs, the application licenses that are associated with the underlying hardware may become invalid.

  • Check the network.
    • If you perform migration across regions, the network may become unstable.
    • If a VPC network is available, we recommend that you perform migration over the VPC network. Compared with migration over the public network, migration over the VPC is more efficient and stable. For more information, see Step 2: Create and start a migration task.
  • Make sure that the Volume Shadow Copy Service (VSS) is enabled.
  • Check whether the QEMU Guest Agent is installed. If the QEMU Guest Agent is installed, you must uninstall it. For information about how to uninstall the QEMU Guest Agent, see SMC FAQ.
  • If you migrate a VM for the first time, we recommend that you perform a test migration.

After the preceding operations are complete, you can migrate the VM. For more information, see Migration process.

Migrate data between Windows-based Alibaba Cloud VMs across VPCs

Migration data between Linux-based Alibaba Cloud VMs across accounts, regions, or VPCs.

Before the migration, complete the following preparations:
  • Create snapshots to back up data.
  • Check the validity of your application licenses.

    After you migrate data between Alibaba Cloud VMs across VPCs, the application licenses that are associated with the underlying hardware may become invalid.

  • Check the network.
    • If you perform migration across regions, the network may become unstable.
    • If a VPC network is available, we recommend that you perform migration over the VPC network. Compared with migration over the public network, migration over the VPC is more efficient and stable. For more information, see Step 2: Create and start a migration task.
  • If you migrate a VM for the first time, we recommend that you perform a test migration.

After the preceding operations are complete, you can migrate the VM. For more information, see Migration process.