Migrate your Windows VM to Alibaba Cloud

Make sure that the system time is the same as the standard time of the local region.

Ensure that your VM can access the following websites and ports:

ECS: https://ecs.aliyuncs.com:443.

Note For information about ECS API endpoints of other regions, see Endpoints.

VPC: https://vpc.aliyuncs.com:443.

STS: https://sts.aliyuncs.com:443.

Intermediate instance: port 8080 and port 8703.

Note An intermediate instance is a temporary instance that is automatically created during the running of the Cloud Migration tool. If a network connection error occurs during the migration, you need to ensure that the VM to be migrated has access to port 8080 and port 8703 of the intermediate instance by running the following commands:

telnet xxx.xx.xxx.xx 8080 # where, xxx.xx.xxx.xx is the Internet IP address of the intermediate instance. When you perform the migration through VPC, xxx.xx.xxx.xx is the private IP address of the intermediate instance.
telnet xxx.xx.xxx.xx 8703 # where, xxx.xx.xxx.xx is the Internet IP address of the intermediate instance.When you perform the migration through VPC, xxx.xx.xxx.xx is the private IP address of the intermediate instance.

Ensure that the Windows VSS service is enabled.

Check whether you have installed the qemu-agent tool. If so, uninstall it. For more information, see Cloud Migration tool FAQ.

Check the validity of your application licenses.

Note After your VM is migrated to Alibaba Cloud, the underlying hardware devices of the system will change, which may result in the associated application licenses becoming invalid.

We recommend that you use a test machine to conduct migration tests before completing the actual procedure to ensure the migration is successful.

Run go2aliyun_client.exe or go2aliyun_gui.exe as the administrator. If the main program is a GUI version, click the Start button to start the migration.

Migrate your Linux VM to Alibaba Cloud

Preparations

Create a snapshot to back up your data.

Make sure that the system time is the same as the standard time of the local region.

Ensure that your VM can access the following websites and ports:

ECS: https://ecs.aliyuncs.com:443.

Note For information about ECS API endpoints of other regions, see Endpoints.

VPC: https://vpc.aliyuncs.com:443.

STS: https://sts.aliyuncs.com:443.

Intermediate instance: port 8080 and port 8703.

Note An intermediate instance is a temporary instance that is automatically created during the running of the Cloud Migration tool. If a network connection error occurs during the migration, you need to ensure that the VM to be migrated has access to port 8080 and port 8703 of the intermediate instance by running the following commands:

telnet xxx.xx.xxx.xx 8080 # where, xxx.xx.xxx.xx is the Internet IP address of the intermediate instance. When you perform the migration through VPC, xxx.xx.xxx.xx is the private IP address of the intermediate instance.
telnet xxx.xx.xxx.xx 8703 # where, xxx.xx.xxx.xx is the Internet IP address of the intermediate instance.When you perform the migration through VPC, xxx.xx.xxx.xx is the private IP address of the intermediate instance.

Check the GRUB bootloader and upgrade GRUB to 1.99 or a later version for systems with earlier kernel versions (such as CentOS 5, Red Hat 5, and Debian 7). For more information, see Update GRUB 1.99 for a Linux server.

Check the validity of your application licenses.

Note After your VM is migrated to Alibaba Cloud, the underlying hardware devices of the system will change, which may result in the associated application licenses becoming invalid.

Procedure

Configure the user_config.json file.

The user_config.json file contains the following configuration items:

The AccessKey information of your Alibaba Cloud account

The target zone of migration and the name of the target image

(Optional) The size of the target system disk and the configuration of the target data disks