This topic describes how to migrate Amazon Web Services (AWS) virtual machines (VMs) to Alibaba Cloud.

Migrate Windows-based AWS VMs to Alibaba Cloud

Before the migration, complete the following preparations:
  • Create snapshots to back up data.
  • Make sure that the system time of the VMWare VM is the same as the standard time of the region where the VMWare VM resides.
  • Check the validity of your application licenses. After you migrate the VMWare VM to Alibaba Cloud, the application licenses that are associated with the underlying hardware may become invalid.
  • Check the network.
  • 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 Linux-based AWS VMs to Alibaba Cloud

Before the migration, complete the following preparations:
  • Create snapshots to back up data.
  • Make sure that the system time of the VMWare VM is the same as the standard time of the region where the VMWare VM resides.
  • Check the validity of your application licenses. After you migrate the VMWare VM to Alibaba Cloud, the application licenses that are associated with the underlying hardware may become invalid.
  • Check the network.
  • Check cloud-init.

    Cloud-init is developed to initialize cloud instances across platforms. However, AWS and Alibaba Cloud have incompatible cloud-init configurations. Instances that are migrated from AWS VMs to Alibaba Cloud may fail to start and the network cannot be connected. We recommend that you use the cloud-init configuration of Alibaba Cloud on the AWS VM. For more information, see Install cloud-init. You can also uninstall cloud-init from your AWS VM.

  • Check the GRand Unified Bootloader (GRUB).

    For Amazon Linux operating systems, you must upgrade GRUB to version 2.02 or later. For earlier kernel versions such as CentOS 5, Red Hat 5, and Debian 7, you must upgrade GRUB to version 1.99 or later. For more information, see Install GRUB in a Linux server.

    Note Use root permission to upgrade GRUB.

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

Migrate AWS VMs to Alibaba Cloud across regions

  1. Migrate AWS VMs to Alibaba Cloud across regions. For more information, see Migration process.
    If an AWS VM resides in the United States, you can migrate the VM to an Alibaba Cloud region in the United States. For information about regions and region IDs, see Regions.
  2. Copy custom images to the destination region. For more information, see Copy custom images.
  3. Create an Elastic Compute Service (ECS) instance by using a custom image. For more information, see Create an ECS instance by using a custom image.

What to do next

By default, root logon by using Secure Shell (SSH) is disabled in AWS VMs. You can log on to Alibaba Cloud by using an AWS account and SSH key.