Help Center/ Elastic Cloud Server/ FAQs/ Region and AZ/ Can I Migrate an ECS to Another Region, AZ, or Account?
Updated on 2025-04-09 GMT+08:00

Can I Migrate an ECS to Another Region, AZ, or Account?

After an ECS is created, it cannot be directly migrated to another region, AZ, or account.

To migrate an ECS across accounts or regions, create an image using the ECS and migrate the image to the target accounts or regions.

For details about common server migration scenarios and methods, see Common Server Migration Scenarios.

For details about how to migrate an ECS across accounts or regions, see Migrating ECSs Across Accounts and Regions Through Image Replication.

Common Server Migration Scenarios

Common server migration scenarios include migration from physical servers to cloud servers, from virtualization platforms (such as VMware) to Huawei Cloud, between cloud servers on Huawei Cloud (across accounts, regions, or AZs), from cloud servers on a third-party cloud platform to cloud servers on Huawei Cloud, and installation disk imaging. For details about the recommended migration methods, see Table 1.

Table 1 Common server migration scenarios

Scenario

Condition

Recommended Solution

Remarks

From x86 physical servers to Huawei Cloud servers

For example, P2V

The servers can access the Internet.

Server Migration Service

For details, see Best Practices - Server Migration Service.

None

From VMs (such as VMware) on a virtualization platform to Huawei Cloud servers

The VMs can access the Internet.

Server Migration Service

For details, see Best Practices - Server Migration Service.

None

The VMs cannot access the Internet.

  1. Export the VM image files from the VMware virtualization platform.
  2. Import the image files to Huawei Cloud.

If the image file format is not vhd, vmdk, qcow2, raw, vhdx, qcow, vdi, qed, zvhd, or zvhd2, convert the file format.

Between cloud servers on Huawei Cloud (across accounts, regions, or AZs)

For example, migrating the cloud servers of account A in the CN North-Beijing4 region to account B in the CN East-Shanghai1 region

The cloud servers can access the Internet.

Server Migration Service

For details, see Best Practices - Server Migration Service.

None

The cloud servers cannot access the Internet.

Recommended

  • Migration across accounts: Sharing Images.

    Use the source cloud server's system disk to create a system disk image and the data disk to create a data disk image, or use the source cloud server to create a full-server image. Then, share the images with other accounts.

  • Migration across regions: Replicating images across regions.

    Use the source cloud server's system disk to create a system disk image and the data disk to create a data disk image, or use the source cloud server to create a full-server image. Then, replicate the images to other regions.

  • Migration across accounts and regions: Sharing Images and Replicating Images Across Regions.
  • Migration across AZs: Creating an ECS from an Image.

    Use the source cloud server's system disk to create a system disk image and the data disk to create a data disk image, or use the source cloud server to create a full-server image. Then, use the Apply for Server function of the image to create a cloud server in the target AZ.

Only the full-server images created using CBR can be shared.

The size of images to be replicated across regions cannot be greater than 128 GiB.

From a third-party cloud platform to Huawei Cloud

For example, from Alibaba Cloud or Tencent Cloud to Huawei Cloud

The cloud servers can access the Internet.

Server Migration Service

For details, see Best Practices - Server Migration Service.

None

The cloud servers cannot access the Internet.

  1. Export the image from the source cloud platform.
  2. Import the image files to Huawei Cloud.

If the image file format is not vhd, vmdk, qcow2, raw, vhdx, qcow, vdi, qed, zvhd, or zvhd2, convert the file format.

Installation disk imaging

For example, create an image file offline and import it to Huawei Cloud.

The ISO installation disk image of the required OS is available.

Create a Windows image using VirtualBox and upload the image to Huawei Cloud.

Or

Create an image using an ISO file imported to Huawei Cloud.

None