Use the edge node migration feature of Server Migration Center (SMC) to migrate physical servers, local virtual machines (VMware, Xen, KVM, and Hyper-V), servers from other cloud providers (AWS, Azure, Google Cloud, and Tencent Cloud), and Alibaba Cloud ECS instances directly into Edge Node Service images. You can then use these ENS images to create ENS instances.
Use cases
Directly migrate a server into an Alibaba Cloud ENS image
If you have not purchased an Alibaba Cloud Edge Node Service instance, you can migrate a server directly into an Alibaba Cloud Edge Node Service image and then use it to create an ENS instance.
This approach eliminates the need to manually create an ECS custom image, export it, and import it as an ENS image.
Migration overview
An ENS instance is the smallest compute unit that Edge Node Service (ENS) provides. SMC migrates the source server into an Alibaba Cloud Edge Node Service (ENS) image. You can then use the ENS image in the Edge Node Service (ENS) console to create an ENS instance to complete the migration.
The following diagram shows the service relationships and migration workflow.
Install the SMC client on the source server.
Configure the migration settings and start the migration. SMC automatically creates an ECS custom image, exports it to an intermediate OSS Bucket, and then imports it as an ENS image.
In the Edge Node Service (ENS) console, create an ENS instance from the ENS image to complete the migration.
Edge Node Service (ENS) is built on carrier edge nodes and networks. It provides on-demand, elastic, and distributed computing resources that are close to end users and offer global coverage. By processing data closer to end users, ENS optimizes response times, reduces the load on central servers, and lowers overall costs. This lets you deploy applications to carrier-side edge nodes, reducing compute latency and costs.
Object Storage Service (OSS) is a scalable, secure, cost-effective, and highly reliable cloud storage service. During migration, an OSS Bucket is used to store and transfer the generated ECS custom images.
Limitations
To use this feature, you must activate ENS.
This feature relies on the custom image export feature of ECS and the image import feature of ENS. The following limitations apply:
Only servers running a Linux operating system can be migrated. You cannot create ENS images from servers that run a Windows Server operating system.
A server can have a maximum of four data disks, each not exceeding 500 GiB.
Importing ENS images is supported only in the China (Beijing) and Singapore regions.
This feature supports only x86-based server instance types.
The maximum size for an image imported to ENS is 1 TiB, which is the total compressed size of the system disk and all data disks.
For more limitations, see Limits on exporting ECS custom images and Notes on importing ENS custom images.
Migration costs
SMC is a free service, but you incur charges for the ECS resources used during migration, such as the migration intermediate instance. For billing details, see SMC Billing Items.
OSS costs: SMC saves the ECS custom image generated during migration to an OSS bucket.
Exporting a custom image incurs charges for OSS storage and outbound data transfer. For more information, see Object Storage Service Billing Overview.
Exporting images calls the OSS API, which incurs request charges. For more information, see OSS API request costs.
ENS: Importing an ENS image and creating an ENS instance incur charges. For billing details, see ENS Billing Items Overview.
How it works
SMC consists of a client and a console. The migration process involves the following steps:
Download and install the SMC client on the source server. (If you import a migration source by using the CLI or the automatic import feature in the console, the system automatically downloads and installs the SMC client.)
Run the SMC client on the source server. The SMC client registers the source server and reports its information to the SMC service by using the SMC service domain name.
The SMC service creates a temporary intermediate instance and opens ports 8080 and 8703 in the security group.
The SMC client connects to the intermediate instance over port 8080. It then transfers the cloud disk data to the data disk of the intermediate instance over port 8703.
The SMC service creates an ECS custom image from the cloud disk data of the intermediate instance and uploads the image to your specified Object Storage Service (OSS) bucket.
The SMC service imports the ECS image into Edge Node Service, creating an ENS image.
Go to the Edge Node Service console and use the ENS image to create an ENS instance.
Migration impacts
Before you begin, review the migration impacts listed below.
Affected item | Description |
Intermediate instance | Do not interfere with the intermediate instance. Do not stop, start, restart, or release the intermediate instance, or change its billing method during migration. The intermediate instance is automatically released after migration. Note
|
Intermediate image | Do not modify or delete the intermediate image. SMC generates a temporary ECS image in the intermediate region during migration. The intermediate image is automatically deleted when the migration job completes or is deleted. |
Transit bucket | Do not modify or delete the temporary ECS image that SMC uploads to the specified OSS bucket. This storage space is automatically released when the migration job completes or is deleted. |
Underlying hardware | Migration changes the underlying hardware, which may invalidate application licenses. Verify that your licenses remain valid after migration. |
Prerequisites
You have activated Server Migration Center (SMC). If you are using SMC for the first time, grant the required permissions, prepare the migration network, and back up your data. For more information, see Prepare for migration.
You have activated Object Storage Service (OSS) and created an OSS bucket to store the temporary ECS image generated during migration. For more information, see Prepare for migration.
You have activated Edge Node Service (ENS). After migration, SMC imports the generated custom image to create an ENS image. You can then use this image to create ENS instances.
Migration
An OSS bucket is required to store intermediate images. Before first use, follow the prompts in the SMC console to grant ECS access to OSS resources.
Error handling
If the Real-time Migration Status is Error, the migration job has failed. Troubleshoot the error and retry the job:
In the Actions column, click Troubleshoot Errors and resolve the error based on the provided code and message. For more information, see SMC FAQ and troubleshooting.
After resolving the error, click Retry Migration Job in the Actions column. The migration job resumes from where it left off.
ImportantIf the intermediate instance has been released, you must restart the migration. For instructions, see What do I do if the intermediate instance is accidentally released?.
Create an ENS instance from an ENS image
When the Real-time Migration Status changes to Completed, the migration has produced an Alibaba Cloud ENS image.
Go to the Edge Node Service console and create an ENS instance from an ENS image, selecting the ENS image generated from this migration.
Clean up resources
Migrate to an image
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. The migration result determines whether you need to manually release the instance:
Successful migration: SMC automatically releases the intermediate instance. No manual cleanup is required.
Migration error: The intermediate instance is not released and continues to incur charges. To avoid unnecessary charges, you can release the instance in one of the following ways:
If you no longer need the migration task, click the migration source ID. In the Actions column for the migration task, click Cancel Migration Job to delete the migration task and automatically clean up the intermediate instance.
Manually release the intermediate instance.
Migrate to a destination instance
During the migration, SMC creates a temporary pay-as-you-go intermediate disk named SMC_Temp_Disk and attaches it to the destination instance to facilitate the migration. The migration result determines whether you need to manually release the intermediate disk:
Successful migration: SMC automatically releases the intermediate disk. No manual cleanup is required.
Migration error: The intermediate disk is not released and continues to incur charges. To avoid unnecessary charges, you can release the disk in one of the following ways:
If you no longer need the migration task, click the migration source ID. In the Actions column for the migration task, click Cancel Migration Job to delete the migration task and automatically clean up the intermediate disk.
Manually release the intermediate disk.






icon next to the mount target.