Server Migration Center (SMC) enables you to migrate source servers—including system disks and data disks—from physical machines, on-premises virtual machines (VMware, Xen, KVM, Hyper-V, etc.), or other cloud providers (AWS, Azure, Google Cloud, Tencent Cloud, etc.) to Alibaba Cloud without downtime. This topic describes how to perform one-click server migration to Alibaba Cloud.
Migration scenarios
-
Migrating source servers to ECS (ECS images and ECS instances).
-
Migrating source servers to Simple Application Server.
To migrate to a container image, use the containerized migration feature.
Prerequisites
-
The one-click server migration feature requires the source server to have public network access.
If your source server does not meet this requirement, try other migration methods. For more information, see Server migration operations.
Migration procedure
Step 1: Import the migration source
Generate an activation code in the SMC console, then log on to the source server and run the activation command with administrative permission to import the migration source.
-
Go to the Server Migration page in the SMC console.
-
On the Server Migration page, click General Quick Migration.
-
On the General Quick Migration page, click Generate.
After clicking, go to the Activation code section, select the Linux Shell tab, copy the wget command that includes parameters such as
--accesstokenid, run it on the source server with administrative permission, then click Next. -
Based on your source server operating system, click the Linux Shell or Windows PowerShell tab, then click Copy to copy the activation command.
Log on to the source server and run the copied command with administrator privileges to import it.
Linux source server
Log on to the Linux source server.
Paste and run the copied command with administrator privileges to import the migration source.

If a message similar to
Import Source Server [s-bp18x8751kgz2oyh****] Successfully!is displayed, it indicates a successful import.
Windows source server
Log on to the Windows source server.
Open Windows PowerShell with administrator privileges.
Paste and run the copied command to import the migration source.

If a message similar to
Import Source Server [s-bp19rlidl3mwuptc****] Successfully!is displayed, it indicates a successful import.If the command fails to run, see What do I do if a command fails to run when I import a Windows migration source by using the command line?.
-
Click Next Step.
NoteThe system automatically checks whether the migration source has been imported. If not, you cannot proceed.
Step 2: Configure migration settings
After importing the migration source, configure migration parameters as needed and start the migration.
-
Configure basic and advanced parameters.
The following table describes the parameters.
Basic information
Parameter
Description
Migration Job Name (Optional)
Enter a name for the migration job.
Job Description (Optional)
Enter a description for the migration job.
Destination Type (Required)
Select a destination type based on your business requirements.
ECS Image
You can migrate the source server to an ECS image and then create an ECS instance from the image.
Configure the following parameters:
-
Destination Region: Select the Alibaba Cloud region to which you want to migrate the Tencent Cloud Lighthouse instance.
Supported regions: Regions and zones.
-
Image Name: The name of the ECS image that is generated after the migration.
ECS Instance
If you have an existing ECS instance, you can migrate the source server to it. The destination instance must be compatible with the source server in storage, OS, and architecture.
-
Storage space: The disk capacity (system + data disks) of the destination instance must be greater than or equal to that of the source server.
Important-
If the disk capacity of the destination instance is smaller than that of the source server, resize the disks first. Resize cloud disks.
-
If the destination instance has fewer data disks than the source server, not all data disks from the source server are migrated.
-
-
Security group: The destination instance must allow traffic on the same ports as the source server. Add a security group rule.
-
Bandwidth: Increase the bandwidth of both source and destination servers to accelerate migration. Estimate migration time and test data transfer speed.
Configure the following parameters:
-
Destination Region: Select the Alibaba Cloud region to which you want to migrate the source server.
Supported regions: Regions and zones.
-
Destination Instance: Select an Alibaba Cloud ECS instance as the destination instance.
ImportantTo prevent migration failure, do not stop, start, restart, or release the destination instance during the migration.
Simple Application Server
If you have an existing Simple Application Server instance, you can migrate a Tencent Cloud Lighthouse instance to it. The destination instance must be compatible with the source instance in storage, OS, and architecture.
-
Storage space: The disk capacity (system + data disks) of the destination instance must be greater than or equal to that of the source Tencent Cloud Lighthouse instance.
Important-
If the disk capacity of the destination instance is smaller than that of the source instance, resize the disks first. Upgrade configurations and Scale up a data disk.
-
If the destination instance has fewer data disks than the source instance, not all data disks from the source instance are migrated.
-
-
Firewall: The destination instance must allow traffic on the same ports as the source Tencent Cloud Lighthouse instance. Firewall settings.
-
Bandwidth: Increase the bandwidth of both source and destination servers to accelerate migration. Estimate migration time and test data transfer speed.
Configure the following parameters:
-
Destination Region: Select the Alibaba Cloud region to which you want to migrate the Tencent Cloud Lighthouse instance.
Supported regions: Regions and network connectivity.
-
Destination Instance: Select an Alibaba Cloud Simple Application Server instance as the destination instance.
ImportantTo prevent migration failure, do not stop, start, restart, or release the destination instance during the migration.
Modify Disk Partition
Select whether to adjust the disk partition structure based on your requirements. Only SMC client versions 2.8.0 and later support this feature. SMC Client User Guide.
Disabled: The disk information of the source instance is not shown. SMC automatically reads the source disk information and generates a disk layout. After migration, the destination disk partition structure matches the automatically generated layout by default.
Enabled: The disk information of the source instance is displayed. SMC automatically reads the source disk information to generate a disk layout. You can adjust the destination disk partition structure, including the partition size and order, transfer method, and whether to enable LVM.
Migration Test
This parameter is available only when Destination Type is set to ECS Image or ECS Instance.
The migration drill helps you assess the feasibility and risks of a migration job before the actual migration. It reports data volume, migration speed, total duration, and suggestions to resolve issues. You are charged for pay-as-you-go resources consumed during the drill. By default, Migration Test is enabled.
WarningIf the destination type is ECS Instance, the migration drill creates snapshots of all cloud disks on the destination ECS instance. If the drill fails or the Test Only is set to Test Only, the snapshots are automatically rolled back after the drill is complete. The destination ECS instance is unavailable during the migration drill, and data on the instance will be lost. Make sure that the destination ECS instance does not contain important data.
Execution Method
Select an execution method based on whether Migration Test is enabled:
With migration test
Test Only: Creates only a migration drill job. After the drill is complete, you must manually start the server migration job if you want to migrate the server.
Test and Migrate: After the migration drill is complete, the system automatically starts the server migration job if no drill items have a status of Critical. By default, Test and Migrate is selected.
Without migration test
Migrate Now: Starts the migration immediately after you create the migration job. By default, Migrate Now is selected.
Migrate Later: Schedules the migration job to start automatically at a specified time.
NoteThe earliest you can schedule the job is 10 minutes from the current time.
Create Only: Creates the migration job but does not start it. You must manually start it later by clicking Start Migration Job in the Actions column.
Automatic Incremental Synchronization
This parameter is available only when Destination Type is set to ECS Image or ECS Instance.
Enables automatic, incremental data synchronization from the source server to Alibaba Cloud. By default, this feature is disabled.
If you enable this switch, you must configure the following parameters:
Synchronization Interval: The interval at which the incremental migration job automatically runs.
Maximum Reserved Images: The maximum number of images that the incremental migration job retains.
The migration job runs periodically to synchronize incremental data to Alibaba Cloud. Incremental server migration.
If you disable this switch, the migration job runs only once.
Enable a migration template
This parameter is available only when Destination Type is set to ECS Image.
Migration templates pre-configure parameters for migration jobs. When you start the migration, the template parameters are automatically populated. Configure a migration template.
Advanced settings
If you need to configure parameters such as network mode and transmission speed limit, click Advanced Settings.
Parameter
Description
Network Type
Select the network for transferring migration data to the intermediate instance. By default, data is transferred over the public network. The intermediate instance is created in the selected Virtual Private Cloud (VPC) and vSwitch and is assigned a public IP address.
Public Network (Default)
Migration data is transferred to the intermediate instance over the public network. This mode requires the source server to have public internet access. You can choose whether to specify a Virtual Private Cloud (VPC) and vSwitch.
Specify a VPC and vSwitch: The migration job creates an intermediate instance in the VPC and vSwitch that you specify.
Do not specify a VPC and vSwitch: The migration job creates an intermediate instance in a new VPC and vSwitch that are automatically created by the system.
VPC
Migration data is transferred to the intermediate instance over a private connection within a VPC. This mode requires you to connect the source server to the Alibaba Cloud VPC and specify a VPC and vSwitch.
NoteIf you can directly access a VPC in an Alibaba Cloud region from an on-premises data center (IDC), virtual machine (VM) environment, or cloud host, we recommend that you use this method. Private network transfer is faster and more stable than public network transfer, improving migration efficiency. You can connect the source server to the cloud VPC by using a VPN gateway, an Express Connect circuit, or a Smart Access Gateway. For more information, see Connect a VPC to a data center or another cloud.
Transmission Speed Limit
Limits the data transfer speed, in Mbit/s. If Compression Ratio is set to a value greater than 0, the actual network transfer speed for the compressed data is lower than the speed displayed in Real-time Migration Status.
Compression Ratio
Sets the data compression level for migration.
In environments with limited bandwidth, a higher compression ratio can increase data transfer speed.
In environments with high bandwidth, we recommend that you do not compress data to reduce CPU usage on the source server.
Valid values: 0 to 10. The default value is 7. A value of 0 indicates that data is not compressed.
Checksum Verification
This feature is disabled by default. Enabling it enhances data consistency checks but may decrease transfer speed.
License Type
This parameter is available only when Destination Type is set to ECS Image or ECS Instance.
Select a license type.
Alibaba Cloud (Default): Only Microsoft Windows Server licenses are supported. After migration, you are charged a license fee when you create an ECS instance from the image in the China (Hong Kong) region or other regions outside the Chinese mainland. The instance is automatically activated. The actual fee is displayed when you create the instance.
BYOL: BYOL is supported for operating systems such as Microsoft Windows, Red Hat Enterprise Linux, and SUSE Linux Enterprise Server. After migration, no license fee is charged when you create an ECS instance from the image. You must activate the instance by using your own license.
NoteIf you have an existing ECS instance, you can purchase software licenses, such as for Red Hat Enterprise Linux and SUSE Linux Enterprise Server, for the instance. Purchase software licenses for an ECS instance.
Image Check
This parameter is available only when Destination Type is set to ECS Image.
The image check feature verifies whether an image is valid and can be used to create a fully functional ECS instance. You can use this feature when you create server migration and agentless VMware migration jobs.
The image check feature helps you quickly identify potential issues with the image or instance after migration and provides solutions to ensure compliance with Alibaba Cloud standards, which increases the instance startup success rate.
Tag
Add key-value pairs as tags to the migration job for easier search and management.
Intermediate Instance Type
Select an intermediate instance type based on your requirements. This parameter is available only when Destination Type is set to ECS Image or Container Image.
-
Select an intermediate instance type: The system creates an intermediate instance of the selected type. If the instance type is out of stock, the migration job cannot be created.
-
Do not select an intermediate instance type: The system selects an instance type in sequence to create the intermediate instance.
ImportantTo prevent migration errors, do not stop, start, restart, release, or change the billing method of the intermediate instance during the migration.
Report diagnostic logs
Automatically uploads SMC client logs to the SMC server for troubleshooting. Enabled by default.
SMC client logs are typically stored in the /smc/go2aliyun_client*/Logs directory within the installation path.
-
-
Click Start Migration.
In the dialog box that appears, carefully read the migration notes, and then click Got It.
-
In the General Quick Migration dialog box, click View Now to monitor migration progress.
If you enabled the migration drill, SMC performs the drill first. The transfer time is affected by factors such as data volume and network bandwidth. Wait for the migration job to complete.
NoteSpeed: The amount of uncompressed migration data transferred per second. If the Compression Ratio for the migration job is greater than 0, the displayed speed is higher than the actual network transfer speed of the compressed data.
Time Remaining for Synchronization: Calculated as (Total Data Volume - Transferred Data Volume) / Speed.
If the transfer speed is too slow, consider temporarily increasing the fixed bandwidth of the source and destination servers. Estimate migration time and test transfer speed.
Verify migration results
Clean up resources
Migrate to ECS image
During migration, SMC creates a temporary pay-as-you-go intermediate instance named No_Delete_SMC_Transition_Instance in your Alibaba Cloud destination account to assist migration. Clean up based on migration success:
-
Migration succeeded: The intermediate instance is automatically released. No manual cleanup is needed.
-
Migration failed: The intermediate instance remains and incurs charges. Release it to avoid unnecessary costs:
-
If you no longer need the migration task, click the migration source ID and, in the Actions column, click Clear Migration Job to delete the task and automatically release the intermediate instance.
-
Manually release the intermediate instance.
-
Migrate to destination instance
During migration, SMC creates a temporary pay-as-you-go intermediate cloud disk named SMC_Temp_Disk on the destination instance to assist migration. Clean up based on migration success:
-
Migration succeeded: The intermediate cloud disk is automatically released. No manual cleanup is needed.
-
Migration failed: The intermediate cloud disk remains and incurs charges. Release it to avoid unnecessary costs:
-
If you no longer need the migration task, click the migration source ID and, in the Actions column, click Clear Migration Job to delete the task and automatically release the intermediate cloud disk.
-
Manually release the intermediate cloud disk.
-
References
To migrate incremental data repeatedly, run incremental migrations at custom intervals after the initial full migration is complete. This process synchronizes incremental data from the source server to Alibaba Cloud, reducing business downtime and the final cutover time. For more information, see Incremental server migration.
To transfer an ECS instance to another Alibaba Cloud account and retain the public IP address, see Transfer an ECS instance.

icon next to the mount target.

