Help Center/ Migration Center/ Best Practices/ Server Migration/ Migrating Servers to Flexus X Instances (Original HECS X Instances)
Updated on 2025-12-02 GMT+08:00

Migrating Servers to Flexus X Instances (Original HECS X Instances)

Overview

Compared with ECSs, Flexus X instances provide more refined specifications to accurately match the actual resource requirements of user services. This can help reduce cloud migration costs and avoid resource wastes. To free you from selecting or customizing Flexus X instance specifications, you can use MgC to collect the CPU and memory usage of source servers and then use the collected performance data to get target server recommendations. This can help you improve performance and control costs.

Application Scope

This practice applies to servers from Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, and Azure and on-premises servers that you add to MgC manually.

What you need to do differs with the actual scenario. For details, see the following table.

Scenario

What You Need to Do

Getting Flexus X instance recommendations and purchasing the recommended Flexus X instances

Preparations, steps 1 to 6, and purchase

Getting Flexus X instance recommendations, purchasing the recommended Flexus X instances, and migrating to Flexus X instances using MgC

Preparations, steps 1 to 7, and purchase. You need to configure the Flexus X instances you purchase as target servers in step 6.

Getting Flexus X instance recommendations, automatically purchasing the recommended Flexus X instances, and migrating to Flexus X instances using MgC

Preparations and steps 1 to 7

Preparations

  • Prepare a Huawei account.

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

  • Create a migration project.

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

Procedure

  1. Download and install the MgC Agent (formerly Edge).

    Prepare a Windows server in the source intranet for installing the MgC Agent. If you do not have an idle cloud server, purchase a pay-per-use one with 4 vCPUs and 8 GB of memory. For details about the server requirements and the MgC Agent installation method, see Installing the MgC Agent on Windows.

  2. Connect the MgC Agent to MgC.

    Log in to the MgC Agent console and connect the MgC Agent to MgC. For details, see Connecting the MgC Agent to MgC.

  3. Add resource credentials.

    After the connection is successful, add the credentials of the source servers to be migrated to the MgC Agent. For details, see Adding Resource Credentials. Correctly configure Resource Type based on the source servers when you add their credentials.

  4. Discover source servers.

    MgC provides three methods to meet your requirements in different scenarios.

  5. Collect server performance data.

    With collected performance data of servers, you can get recommendations for target servers with the right amount of CPU and memory resources to match the needs of your applications. For more information, see Collecting Server Performance Data.

    • If the source servers run daily fixed services, it is recommended that the performance collection duration should be no less than one day.
    • If the source servers run services that fluctuate periodically, it is recommended that the performance collection duration should cover the entire fluctuation period to accurately evaluate the performance of source servers.

  6. Create an application assessment.

    Assess the application to get Flexus X instance recommendations. For details, see Generating Target Recommendations.

    Configure an assessment policy based on Table 1 to get Flexus X instance recommendations.
    Table 1 Parameters for configuring an assessment policy

    Parameter

    Sub-parameter

    Description

    Target Region

    -

    Select the region where you want to purchase resources on Huawei Cloud. You are advised to select a region close to your target users for lower network latency and quick access.

    Assessment Policy

    Match source configuration

    MgC recommends Huawei Cloud resources that best match the size of source resources.

    Priority

    Low cost

    MgC recommends the most cost-effective target resources that meet your demands.

    (Mandatory) Preferences

    You are advised to select Performance-based for Sizing Criteria.

    Server Types (Optional)

    Select General Computing. For details about how the system recommends appropriate target resources, see How Does MgC Generate Target Server Recommendations?

    Server Series (Optional)

    Select the server series you prefer.

    System Disk (Optional)

    Select the system disk type you prefer.

    Data Disk (Optional)

    Select the data disk type you prefer.

    Sizing Criteria

    If you select Performance-based, you need to perform a performance collection for the source servers, and then set assessment parameters. The system will then recommend target servers with your desired CPU and memory specifications. The more performance data is collected, the more accurate the target recommendations are.

    For details about how the system recommends appropriate target resources, see How Does MgC Generate Target Server Recommendations?

  7. Create a server migration plan and workflow.

    After all the preceding steps are complete, go to the Migration Plans page, then create a batch migration plan and a workflow.