Preparations for OS migration
Before you use SMC for OS migration, create an Alibaba Cloud account, complete real-name verification, activate RAM, and grant the required permissions.
Prepare your Alibaba Cloud account
To prepare your Alibaba Cloud account:
Register an account on the Alibaba Cloud website.
Ensure that you have added a credit card or PayPal account as a payment method.
If you need to migrate a server to a region in the Chinese mainland, you must complete real-name verification for your account.
You can complete the verification in one of the following ways:
Method 1: Go to the Account Verification page and follow the instructions.
Method 2: Log on to the SMC console and complete the verification as prompted.
Activate RAM and grant permissions
Authorize SMC: You must grant SMC permission to access your cloud resources. Ensure that you have activated RAM. Log on to the SMC console and follow the prompts to complete the authorization. To the right of Cloud resource access authorization, click Go to authorize, and then click Agree to authorize in the pop-up dialog box.
Authorize a RAM user: If you are using a RAM user, you must log on to the RAM console with your Alibaba Cloud account and attach the
AliyunSMCFullAccesspolicy to the RAM user.
Activate snapshot service
SMC creates a snapshot of the source server during migration. Ensure that you have activated the snapshot service. Log on to the SMC console and activate the service as prompted.
To the right of Activate snapshot service, click Go to activate.
Back up data
To prevent data loss, create snapshots to back up the system disk and data disks of the source server. Snapshots incur charges. Snapshot billing.
The migration modifies the OS kernel, software packages, and configurations. These changes are irreversible.
Domain names and ports
During migration, the source server must access SMC service domain names.
Ensure access to the following domain names:
SMC client storage address:
Default public domain: https://p2v-tools.oss-cn-hangzhou.aliyuncs.com
Default public domain (for command-line import or client import by generating and entering an activation code, or entering an AK/SK):
Default public domain: https://smc.aliyuncs.com (server IP addresses: 101.37.132.1, 47.111.202.72).
Private domain (private network migration):
Activation code private domain: https://.axt.aliyun.com (accessible only from within Alibaba Cloud ECS).
AK/SK private domain: https://smc.vpc-proxy.aliyuncs.com (accessible only from within Alibaba Cloud ECS).
By default, SMC domains use HTTPS protocol on port 443. HTTP protocol on port 80 might not be supported.
If you can directly access an Alibaba Cloud VPC from your on-premises data center, virtual machine environment, or cloud host, we recommend using SMC's private network migration solution. Private network migration is faster and more stable than public network migration, improving migration efficiency.
Classic network instances
The ECS instance must be in a VPC. If your instance is in the classic network, migrate it to a VPC first. Migrate an ECS instance from the classic network to a VPC.
Linux OS migration
In addition to the preceding preparations, note the following:
The migration depends on yum or dnf. Ensure these package managers run properly.
To migrate from CentOS 7 or 8 to Red Hat 7 or 8, ensure the source system can access the following endpoints:
https://www.redhat.com
https://ftp.redhat.com
https://cdn-public.redhat.com
https://developer.aliyun.com
http://developer.aliyun.com