Migration templates preset parameters for server migrations. During a migration, the template automatically fills in these parameters to improve efficiency. This topic describes how to set a migration template.
Limits
Currently, only server migration templates are supported.
Procedure
On the Migration Template page, click Modify a template.
If you are setting up a migration template for the first time, skip this step.
Modify the migration template parameters as needed.
The configuration includes basic parameters, network configuration, incremental data configuration, and advanced configuration. The following table describes these parameters.
Parameter Category
Parameter
Description
Basic Parameters
Destination Region
The Alibaba Cloud region to which you want to migrate your source server. For more information about regions, see Regions and zones.
Migration Test
Select whether to enable migration drills as needed.
Execution Method
Select an execution mode based on whether you enabled Migration Test:
If you enabled Migration Test
Test Only: Creates only a migration drill task. After the drill is complete, manually start the server migration task if you want to migrate the server.
Test and Migrate: After the migration drill is complete, the system automatically starts the server migration task if no drill items are in the Critical state. Test and Migrate is selected by default.
If you did not enable Migration Test
Execute Now: Starts the migration immediately after the migration task is created. Execute Now is selected by default.
Create Only: Creates only a migration task. You must later go to the Actions column and click Start Migration Job to manually start the migration task.
Network Configuration
Network Type (Required)
Select the network to transmit migration data to the intermediate instance. By default, the public network is used. The intermediate instance is created in the selected virtual private cloud (VPC) and vSwitch. Therefore, the intermediate instance is assigned a public IP address.
Internet(Default)
Migration data is transmitted to the intermediate instance over the public network. To use this mode, the source server must be able to access the Internet. You must also specify a VPC and a vSwitch. If you have not created them, click Create. After creation, refresh the page and select them. For more information, see Create a VPC and a vSwitch.
VPC
Migration data is transmitted to the intermediate instance over the internal network of a VPC. To use this mode, you must connect the source server to the Alibaba Cloud VPC. You must also specify a VPC and a vSwitch. If you have not created them, click Create. After creation, refresh the page and select them. For more information, see Create a VPC and a vSwitch.
NoteIf you can directly access a VPC in an Alibaba Cloud region from your on-premises data center (IDC), virtual machine (VM) environment, or cloud host, use this method for migration. Using private network transmission provides faster and more stable data transmission than using the public network, which improves migration efficiency. You can connect the source server to the cloud VPC 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
Transfer throttling limits the actual network transfer speed, in Mbps. If the Compression Ratio is set to a value greater than 0, the actual network transfer speed (the transfer speed of compressed data) will be less than the speed displayed in the Real-time Migration Status.
Transmission Compression Ratio
The level of data compression during migration. Set the compression ratio based on your actual needs.
In environments with limited bandwidth, using a high compression ratio can increase data transfer speed.
In environments with very high bandwidth, we recommend not compressing data to reduce the consumption of CPU resources on the migration source.
The value ranges from 0 to 10. The default value is 7. A value of 0 means no data compression.
Incremental Data Configuration
Automatic Incremental Synchronization
Specifies whether to automatically synchronize incremental data from the source server to Alibaba Cloud.
ImportantIf you perform a workgroup migration, you must enable this feature.
Synchronization Interval
The interval at which the incremental migration task automatically runs. The value can be from 1 hour to 7 days.
Maximum Retained Images
The maximum number of images to retain. The value can be from 1 to 10.
Advanced Settings
Checksum Verification
Enabling this feature enhances data consistency verification but may reduce the transmission speed.
SSL-Encrypted Transmission
By default, Auto is selected. Using Secure Sockets Layer (SSL) encryption to transfer migration data can improve data security and ensure data integrity.
License Type
Select a license type.
Alibaba Cloud License (Default): Currently, only Microsoft Windows Server licenses are supported. After migration, if you use the image to create an ECS instance in the China (Hong Kong) region or a region outside China, a license fee is charged for the image. The image is automatically activated. The actual fee is displayed when you create the instance.
BYOL: Bring Your Own License (BYOL) migration to the cloud currently supports Microsoft, Red Hat Enterprise Linux, and SUSE Linux Enterprise Server. After migration, no license fee is charged when you use the image to create an ECS instance. Use your own license for activation.
NoteIf you have an ECS instance, Alibaba Cloud lets you quickly purchase software licenses, such as Red Hat Enterprise Linux and SUSE Linux Enterprise Server, for the instance. For more information, see Purchase software licenses for an ECS instance.
Image Check
The image detection feature mainly checks whether the image is valid and whether it can be used to create a fully functional ECS instance. You can use the image detection feature when creating server migration and VMware agentless migration tasks.
Image detection can help you quickly identify potential problems with the image or instance after migration and provide repair solutions to make it comply with Alibaba Cloud standards, improving the success rate of instance startup.
For more information, see Configure image detection.
Migration Job Tag
Attach a key-value pair as a tag to the migration task. This helps you query and manage the task.
Click Save Template.
References
After you set a migration template, its parameters are automatically filled in for server migrations. This simplifies the following operations:
Migrate a single server: For more information, see Server migration operations.
Migrate servers in batches: For more information, see Batch server migration.