Help Center/ Migration Center/ Best Practices/ Server Migration/ Migrating Servers from Alibaba Cloud to Huawei Cloud
Updated on 2026-09-28 GMT+08:00

Migrating Servers from Alibaba Cloud to Huawei Cloud

This best practice describes the detailed procedure and precautions for migrating servers from Alibaba Cloud to Huawei Cloud.

Precautions

Before creating a server migration workflow, read and understand the items below.

Item

Remarks

Source download bandwidth

Used to download the SMS-Agent to source servers.

  • If each source server uses a dedicated bandwidth, the bandwidth must be at least 30 Mbit/s.
  • If source servers share a bandwidth, the average bandwidth must be at least 50 Mbit/s.

Migration bandwidth

Available CPUs and memory

  • Memory: at least 520 MB
  • CPU: at least 0.3 CPUs in Linux and 1 CPU in Windows

OS compatibility

For details, see Supported OSs.

Server migration statements

For details about the important statements you need to understand before the migration, see What Are the Important Statements of SMS?

Constraints

For details about the notes and constraints for server migration, see Notes and Constraints.

Billing

For details about the costs that may be incurred during the migration, see Billing.

Permissions configuration

IAM is used for fine-grained permissions management. For details, see Permissions Management.

Migration network and ports

For details about the requirements for the migration network and ports, see How Do I Set Up a Secure Migration Network for Using SMS?

Changes in server configurations before and after migration

For details about the configurations that may change after the migration, see What Are the Differences Between the Source and Target Servers After the Migration?

Preparations

To ensure a smooth migration, you need to make the following preparations.

  • Preparing a Huawei Cloud Account

    Before using MgC, prepare a Huawei Cloud account or an IAM user that can access MgC and obtain an AK/SK pair for the account or IAM user. For details, see Preparations.

  • Obtain an AK/SK pair for your Alibaba Cloud account.
    Check whether your Alibaba Cloud account has an AK/SK pair and has the AliyunECSReadOnlyAccess permission. If it does not have one, perform the following steps to generate an AK/SK pair and add the required permissions for it:
    1. Sign in to the RAM console using your Alibaba Cloud account.
    2. In the navigation pane on the left, choose Identities > Users.
    3. On the Users tab, click Create User.
    4. On the Create User page, in the User Access Key area, click Create Access Key.
    5. Assign permissions to the RAM user.

      On the Users page, click Add Permissions in the Operation column and grant the AliyunECSReadOnlyAccess permissions to the RAM user.

  • Create an application migration project.

    Create a migration project on the MgC console. For details, see Managing Migration Projects. Set Project Type to Application migration.

Step 1: Install the MgC Agent

Install the MgC Agent on the prepared Windows server in the source network, connect it to the MgC console, and add the source server credentials for migration. The procedure is as follows.

Step 2: Discover Alibaba Cloud ECSs

  1. Sign in to the MgC console. In the navigation pane, under Project, select your application migration project from the drop-down list.
  2. In the navigation pane, click Resource Survey.
  3. Under Online Discovery, click Cloud Discovery.

    Figure 2 Cloud discovery

  4. Configure the parameters based on Table 2.

    Table 2 Parameters for creating an Internet-based discovery task

    Area

    Parameter

    Description

    Task Settings

    Source

    Select Alibaba Cloud.

    Credential

    Select the credential for accessing Alibaba Cloud. If the credential has not been added, click Add Credential to add it.

    NOTICE:

    When adding the credential, select AK/SK for Authentication and enter the AK/SK pair of your Alibaba Cloud account. Your account must have the AliyunECSReadOnlyAccess permissions.

    Region

    Select the region where the source servers are located. You can select multiple regions.

    Resource Type

    Select Servers from the drop-down list.

    Basic Information

    Task Name

    The default name format is <task type>-<current-time>. You can also specify a name.

    Task Description (Optional)

    Describe the task.

    Application (Optional)

    An application is a group of resources that need to be migrated together. You can add resources to or remove resources from an application as needed. You can use the application to get recommendations for target resources and create a workflow to migrate the source resources.

    • If an application is available, select the application from the Application drop-down list.
    • If no application is available, click Create Application. In the displayed dialog box, enter an application name and description, select a business scenario, environment, and region (where you are migrating to), and click OK.

  5. Click Confirm. After the online discovery task is created, MgC starts discovering source resources.

    • If the task succeeds, return to the Source Resources page and view the list of discovered source resources and their details.
    • If the task fails, click the task name to view the data source that fails to be collected. Hover over the collection status to view the failure cause.

Step 3: Create a Migration Task

  1. Sign in to the MgC console. In the navigation pane, under Project, select your application migration project from the drop-down list.
  2. In the navigation pane, choose Server Migration > Bulk Servers.
  3. Click Create Migration Task.
  4. Use the default task name or create one. Enter the task description (optional).
  5. Click OK to complete the task creation.

Step 4: Configure the Migration Task

This step includes five phases.

Step 5: Track the Migration Task

In the migration task list, click the task name to go to the Task Details page. Check the task progress and perform the following operations on it.
Table 8 Operations related to resources

Scenario

Operation

Checking migration details

Click a resource name. On the Resource Details page displayed on the right, check the basic information, migration status, and migration progress.

Checking a target server

After the step CreateTargetServer is completed for a resource, choose More > View Target Resource in the Operation column to review details about the target server.

Checking an SMS task

After the step StartUpAgent is completed for a resource, a migration task is automatically created on the SMS console. To check the details on the SMS task, click View Migration Task in the Operation column.

Resizing disks and partitions

When the workflow on a resource reaches the ResizeDiskPartition step, the system identifies whether the target server's disk capacity has been reduced.
  • If yes, go to the SMS console and resize disks and partitions for the target server. For details, see the Resize Disks and Partitions parameter in Configuring a Target Server. After the adjustment is complete, return to the task details page and choose More > Confirm in the Operation column to continue the migration.
  • If no, choose More > Skip in the Operation column to skip this step and proceed with the subsequent migration steps.

Pausing a resource migration

You can pause the migration of a single resource in a migration task.

During the migration, when the resource reaches the full or incremental replication step, you can click Pause in the Operation column to pause the migration of the resource.

To resume the migration, click Run in the Operation column.

NOTICE:

After the migration of a resource is paused, do not perform any operations on the corresponding migration task on the SMS console.

Repeating incremental synchronization

The StartSynchronization step can be repeated. When a resource reaches the BusinessValidation step and the resource status is Not confirmed, select the resource and click Run Previous Step above the resource list. Alternatively, choose More > Run Previous Step in the Operation column of the resource to repeat incremental synchronization.

CAUTION:

You are not advised to perform incremental synchronization on the SMS console. Otherwise, the migration task status on the MgC console may differ from that on the SMS console, causing abnormal task running.

Verifying services

When the workflow on a resource reaches the BusinessValidation step and there is no more incremental synchronization, verify services on the target server. After services pass the verification, click Confirm in the Operation column of the corresponding resource to enter the Complete cutover stage.

Switching traffic

The workflow moving to the Cutover step means that the target server has been verified and you can transfer services to the target server. After the switchover is complete, return to the task details page and click Confirm in the Operation column. The system automatically performs the subsequent SourceClear and MigrationTaskClear steps.

Step 6: Verify Services

When the migration task reaches the service verification step for a server resource, log in to the target server to verify data consistency with the source server and start services to ensure proper operation. After completing verification, click Confirm in the Operation column of the server resource to proceed to the migration cutover phase.

  1. Log in to the target server using Virtual Network Computing (VNC). References:

    The username and password for logging in to the target server are the same as those of the source server.

  2. Check whether the file list of the source server is the same as that of the target server.
  3. Start the applications or services on the target server and check whether they are running properly.

Step 7: Perform a Service Cutover

MgC does not provide the service cutover function.

When the migration reaches the service cutover step, services on the target server have been verified. At this point, you can redirect the service access layer to the target server to resume user services. The cutover mode varies with the application scope:

  • One-off cutover: for small and medium-sized services
  • Batch cutover: for large-scale services. Different from one-off cutover, this mode groups servers based on their complexity, and then migrates each batch at a time.