If your Simple Application Server (SAS) no longer meets your requirements, you can migrate it to an ECS instance for more flexible resource configurations. This topic explains how to use Server Migration Center (SMC) to perform this migration to the same or a different region within your Alibaba Cloud account.
We recommend using the image copy and image sharing features in Simple Application Server to migrate your Simple Application Server instance to an ECS instance. For more information, see Migrate data from a Simple Application Server to an ECS instance. If these features do not meet your requirements, use the alternative method described in this topic.
Migration scenarios
(Recommended) Migrate a Simple Application Server to an ECS custom image in the same region or across regions.
If you do not have an ECS instance, you can migrate the Simple Application Server to an ECS custom image and then create an ECS instance from it.
Migrate a Simple Application Server to an existing ECS instance in the same region.
If you have an ECS instance with a configuration (such as storage and operating system) that is compatible with the Simple Application Server, you can migrate the server to that instance.
WarningThe migration overwrites the original data on the destination ECS instance but does not affect the data on the source Simple Application Server. Therefore, do not use this method if the destination ECS instance contains critical data.
Migration impact
Before you migrate, review the following considerations.
Item | Description |
Data directories to migrate | During migration, SMC automatically creates a destination disk partition structure that matches the source server's structure as closely as possible. You can adjust the partition structure of the destination disk, including partition size, order, transfer method, and LVM configurations. By default, SMC migrates all disks on the server. Note the following:
For more information, see the "Adjust the disk partition layout as needed" section in Step 2: Migration configuration. |
Transition instance | Do not interfere with the intermediate instance. To prevent migration failure, do not stop, start, restart, release, or change the billing method of the intermediate instance during the migration. After the migration is complete, SMC automatically releases the intermediate instance. Note
For more information, see How SMC works. |
IP address | The IP address changes after migration, which may cause service interruptions. Perform the migration during off-peak hours. If your services involve IP address configurations, you must modify the domain name resolution, ICP filing, and other related information after the migration.
|
Underlying system hardware | After migration, the underlying hardware of the server changes. This can invalidate application licenses that are bound to specific hardware. Verify your licenses after migration. |
Performance impact | The migration process consumes server resources, including CPU, memory, disk I/O, and network bandwidth. |
Data consistency before and after migration | For information about data and system configuration changes that can occur during migration, see Data consistency issues after migration. |
Prerequisites
You have completed the preparations for migration.
To migrate a simple application server to an existing Alibaba Cloud ECS instance:
If the source server runs Linux, the destination instance must also run a Linux distribution. If the source server runs Windows, the destination instance must also run Windows.
The number of data disks attached to the destination instance must be greater than or equal to the number of data disks on the source server. If the destination instance does not have enough data disks, you must attach data disks.
We recommend that the capacity of the system disk and data disks on the destination instance be greater than or equal to the capacity of the corresponding disks on the source server. If you plan to reduce the disk size during migration, the capacity of the disks on the destination instance must be greater than or equal to the used space of the corresponding disks on the source server. If the disk capacity of the destination instance is insufficient, you must resize the disks.
Migration procedure
Step 2: Configure migration task
Find the migration source that you want to manage and click Start Migration in the Actions column.
Configure the parameters and click Start Migration.
Configure basic parameters.
Parameter
Description
Destination Type (Required)
Select a destination type based on your migration scenario:
ECS Image
Convert the source server into a custom image. You can use the custom image to create ECS instances.
The following table describes the parameters.
Destination Region: The region to which you want to migrate the source server. This parameter is required. For more information about regions, see Regions and zones.
Image name prefix: The prefix of the destination custom image name that SMC generates for the migration source.
ECS Instance
Migrate the source server directly to a purchased ECS instance. The storage and operating system of the source server and the ECS instance must be compatible.
ImportantWhen you migrate a source server to a destination instance, the operating system of the destination instance is first replaced. The automatic snapshots of the system disk are cleared and cannot be recovered. If you want to retain the automatic snapshots for data security or future use, you can configure the automatic snapshots not to be released with the cloud disk before the migration. For more information, see Configure automatic snapshots to be released with disks.
The following table describes the parameters.
Destination Region: The region to which you want to migrate the source server. This parameter is required. For more information about regions, see Regions and zones.
Destination Instance: Select an ECS instance as the destination instance.
Migration Test
The Migration Test feature helps you evaluate the feasibility and risks of a migration task before the actual migration. It provides key information, such as data volume, migration speed, and total duration. It also offers suggestions to resolve potential issues, which helps reduce problems and losses during the actual migration. Pay-as-you-go resources used during a Migration Test incur fees. By default, Migration Test is enabled.
WarningIf ECS Instance is set to ECS Instance, snapshots are created for all cloud disks of the destination ECS instance during the Migration Test. If an issue occurs during the test or if Test Only is set to Test Only, the snapshots are automatically rolled back after the test is complete. The destination ECS instance is unavailable during the Migration Test, and any pre-existing data on the instance will be overwritten. Therefore, ensure the destination ECS instance does not contain important data.
For more information, see Configure a Migration Test.
Execution Method
Select an execution method based on whether Migration Test is enabled.
With migration test
Test Only: Creates a Migration Test task only. After the test is complete, you must manually start the server migration task.
Test and Migrate: After the Migration Test is complete, the system automatically starts the server migration task if no test 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 task. By default, Migrate Now is selected.
Migrate Later: The migration task automatically starts at the specified time.
NoteThe earliest scheduled time is 10 minutes after the current time.
Create Only: Creates the migration task only. You must later start the migration task by clicking Start Migration Job in the {value, select, ReplicationJobIdWithName {Migration Job ID/Name} ReplicationParameters {Migration Job Type} DrillStatus {Test Status} Status {Status} ReplicationJobTag {Migration Job Tags} SourceIdWithName {Migration Source ID/Name} RegionId {Destination Region} TargetType {Migration Result} VerifyResult {Latest Verification Result} Action {Actions} other {{value}} } column.
Automatic Incremental Synchronization
Enable this feature to automatically synchronize incremental data from the source server to Alibaba Cloud. By default, this feature is disabled.
If you enable this feature, configure the following parameters:
Synchronization Interval: The interval at which the incremental migration task is automatically and periodically run.
Maximum Reserved Images: The maximum number of images that are retained by default for an incremental migration task.
The migration task is periodically run to synchronize incremental data to Alibaba Cloud. For more information about best practices for incremental migration, see Incremental server migration.
If you disable this feature, the migration task runs only once.
Enable a migration template
This parameter is available only when Destination Type is set to ECS Image.
Migration templates are used to preset migration task parameters. When you start a migration, the template parameters are automatically populated. For more information about how to set up a migration template, see Set up a migration template.
Network Type
Select the network used to transfer migration data to the intermediate instance. By default, data is transferred over the public network. An intermediate instance is created in the selected VPC and vSwitch and is assigned a public IP address.
Public Network
Migration data is transferred to the intermediate instance over the public network. To use this mode, the source server must have public network access. You can choose whether to specify a VPC and a vSwitch.
Specify a VPC and a vSwitch: The migration task creates an intermediate instance in the VPC and vSwitch that you specify.
Do not specify a VPC and a vSwitch: The migration task 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 the VPC's internal network. To use this mode, you must connect the source server to the Alibaba Cloud VPC and specify a VPC and vSwitch.
NoteWe recommend that you use this method if you can directly access a VPC in an Alibaba Cloud region from your on-premises data center (IDC), VM environment, or cloud host. Data transfer over a private network is faster and more stable than over the public network, which improves migration efficiency. You can connect the source server to the VPC by using VPN Gateway, Express Connect, or Smart Access Gateway. For more information, see Connect a VPC to a data center or another cloud.
The private IPv4 address of the destination instance
If you want to change the private IP address of the destination instance, you can manually specify a private IP address. This parameter is available only when Destination Type is set to ECS Instance.
Remain unchanged.: By default, the private IP address of the Destination Instance remains unchanged.
Manual: You can enter an IP address from the available IP range of the vSwitch where the Destination Instance resides. If the IP address of the migration source is within the CIDR block of the vSwitch, you can change the IP address of the destination instance to the IP address of the migration source.
If the destination instance and the migration source are in the same CIDR block: Enter the private IP address of the migration source.
If the destination instance and the migration source are in different CIDR blocks: You must first change the VPC of the destination instance so that they are in the same CIDR block. Then, enter the private IP address of the migration source.
Adjust the disk partition structure as needed. The following table describes the parameters.
Parameter
Description
Modify Disk Partition
Specifies whether to adjust the disk partition structure. This feature is supported only by SMC client V2.8.0 and later. For more information about the SMC client, see SMC client user guide.
Disabled: The disk information of the source instance is not displayed. The system automatically reads the source instance disk information to generate a disk structure. After migration, the destination disk partition structure matches the automatically generated structure by default.
Enabled: The disk information of the source instance is displayed, and the system automatically reads it to generate a disk structure. You can adjust the destination disk partition structure, including partition size and order, transfer method, and whether to enable LVM.
(Conditionally required) To set parameters such as the network mode, private IP address, and transfer rate limit, click Advanced Settings. The following table describes the advanced parameters.
Parameter
Description
Migration Job Name
The name of the migration task.
Job Description
The description of the migration task.
Transmission Speed Limit
The maximum data transfer rate, in Mbit/s. If Compression Ratio is set to a value greater than 0, the actual network transfer rate of compressed data is lower than the rate displayed in the Real-time Migration Status column.
Compression Ratio
The level of data compression during migration. Set the compression ratio based on your business requirements.
In environments with limited bandwidth, a high compression ratio can increase the data transfer rate.
In environments with high bandwidth, we recommend that you do not compress data to reduce CPU consumption on the source server.
Valid values: 0 to 10. Default value: 7. A value of 0 indicates that data is not compressed during transfer.
Checksum Verification
Enabling this feature enhances data consistency verification but may reduce the transfer rate.
SSL encryption
By default, this parameter is set to Auto. Using SSL to encrypt migration data can improve data security and ensure data integrity.
License Type
Select a license type.
Alibaba Cloud (Default): Currently, only Microsoft Windows Server licenses are provided. After migration, license fees apply when you create an ECS instance from the resulting image in the China (Hong Kong) region or regions outside the Chinese mainland. The instance is activated automatically. The specific fee is displayed at the time of instance creation.
BYOL: Bring Your Own License (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 Red Hat Enterprise Linux and SUSE Linux Enterprise Server for the instance. For more information, see Purchase a software license for an ECS instance.
Image Check
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 a server migration task or a VMware agentless migration task.
Image check helps you quickly identify potential issues with the image or instance after migration and provides solutions to ensure compliance with Alibaba Cloud standards and improve the instance startup success rate.
For more information, see Configure an image check.
Tag
Add key-value tags to the migration task to facilitate search and management. For more information, see Use tags to manage migration sources and tasks and Implement fine-grained access control by using tags.
NoteYou can add a maximum of 20 tags to a migration task.
Intermediate Instance Type
Select an instance type for the intermediate instance based on your requirements. This parameter is available only when Destination Type is set to ECS Image.
If you specify this parameter, the system uses the selected instance type to create the intermediate instance. If the specified instance type is out of stock, the migration task fails to be created.
If you do not select an intermediate instance type, the system selects an instance type in a predefined order to create the intermediate instance.
ImportantTo prevent migration errors, do not stop, start, restart, or release the intermediate instance during the migration. After the migration is complete, the instance is automatically released.
Report diagnostic logs
Automatically upload SMC client logs to the SMC server for diagnostic analysis. This helps troubleshoot issues when a migration error occurs. This feature is enabled by default.
SMC client logs are typically saved in the
/smc/go2aliyun_client*/Logs/directory of the installation path.
In the message that appears, read the migration notes and click Got It.
On the Server Migration page, view the real-time migration status.
If you enabled Migration Test, SMC performs the test first. The data transfer duration depends on factors such as data volume and network bandwidth. Wait for the migration task to complete.
NoteSpeed: The transfer rate of migration data, measured based on the data size before compression. If you set the Compression Ratio to a value greater than 0, the displayed speed is higher than the actual network transfer rate of the compressed data.
Time Remaining: Calculated as (Total Data - Transferred Data) / Speed.
If the transfer rate is too slow for your plan, you can temporarily increase the fixed bandwidth of the source and destination servers. For more information, see Estimate the migration duration and test the transfer rate.
(Optional) View migration details.
In the Migration Source ID/Name column, click the ID of a migration source to view its details.
Verify the migration result
Clean up resources
ECS image migration
During the migration, SMC creates a temporary pay-as-you-go intermediate instance named No_Delete_SMC_Transition_Instance in your destination Alibaba Cloud account to facilitate the migration. You may need to manually release the instance based on the migration outcome:
Successful migration: The intermediate instance is automatically released. No manual action is required.
Migration error: The intermediate instance is retained and continues to incur charges. To avoid unnecessary charges, you can release it in one of the following ways:
If you no longer need the migration task, click the migration source ID. In the Actons column, click Cancel Migration Job. This action deletes the task and automatically releases the intermediate instance.
Manually release the intermediate instance.
ECS instance migration
During the migration, SMC creates and attaches a temporary pay-as-you-go intermediate disk named SMC_Temp_Disk to the destination instance to facilitate the migration. You may need to manually release this intermediate disk based on the migration outcome:
Successful migration: The intermediate disk is automatically released. No manual action is required.
Migration error: The intermediate disk is retained and continues to incur charges. To avoid unnecessary charges, you can release it in one of the following ways:
If you no longer need the migration task, click the migration source ID. In the {value, select, ReplicationJobIdWithName {Migration Job ID/Name} ReplicationParameters {Migration Job Type} DrillStatus {Test Status} Status {Status} ReplicationJobTag {Migration Job Tags} SourceIdWithName {Migration Source ID/Name} RegionId {Destination Region} TargetType {Migration Result} VerifyResult {Latest Verification Result} Action {Actions} other {{value}} } column, click Cancel Migration Job. This action deletes the task and automatically releases the intermediate disk.
Manually release the intermediate disk.
Related documents
After the initial full migration completes, you can run multiple incremental migrations at custom intervals to synchronize incremental data from the source server to Alibaba Cloud. This process reduces 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 its public IP address, see Transfer an ECS server.
For solutions to common issues, see FAQ and Troubleshooting.







icon in front of the mount point.


