Updated on 2025-07-10 GMT+08:00

Online Discovery

This section describes how to discover servers running on clouds, such as Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, Azure, Qiniu Cloud, and Kingsoft Cloud.

After the servers are discovered over the Internet, you need to ensure all the servers pass the pre-migration check or perform a deep collection for them, so that you can create a migration workflow to migrate them.

Prerequisites

  • You have installed the MgC Agent in the source intranet environment and have connected it to MgC.
  • You have added source server credentials to the MgC Agent. The server credentials must meet the following requirements:
    • Linux: root and its password
    • Windows: administrator and its password

Procedure

  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 Discover > Source Resources.
  3. Under Online Discovery, click Cloud Discovery.

    Figure 1 Cloud discovery

  4. Configure the parameters listed in Table 1 to create a discovery task.

    Table 1 Parameters for creating a cloud discovery task

    Area

    Parameter

    Description

    Mandatory

    Basic Settings

    Task Name

    Enter a task name.

    Yes

    Task Description

    Describe the task.

    No

    Task Settings

    Source Platform

    Select the source cloud platform. Currently, Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, Azure, Qiniu Cloud, and Kingsoft Cloud are supported.

    Yes

    Credential

    Select the credential for accessing the source cloud platform. If no credential is available, choose Create to add one. For details, see Managing Credentials.

    • If the source cloud platform is Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, Qiniu Cloud, or Kingsoft Cloud, select AK/SK for Authentication and enter the AK/SK pair of your source cloud account.
    • If the source cloud platform is Azure, Select ID/Secret for Authentication. To learn how to obtain Azure credentials, see How Do I Obtain Azure Credentials?

    Yes

    Region

    Select the region where your source environment is located. Multiple regions can be selected.

    Yes

    Resource Type

    Select Servers from the drop-down list.

    Yes

    Application

    Select the application that you want to group the discovered servers into. If no applications are available, perform the following steps to create one:

    1. Click Create Application, enter an application name and description, select a business scenario and running environment, and select the region where the application resources will be deployed on the target cloud.
    2. Click OK.

    No

  5. Click Confirm. The Internet-based discovery task is created, and MgC starts collecting details about source servers.
  6. Wait until the task status changes to Succeeded. Then perform the following steps to check the migration readiness for the discovered source servers.

    1. Install the MgC Agent in the source intranet environment and connect the MgC Agent to MgC.
    2. Go to the Source Resources page, in the server list, select the servers to be migrated and click Group as Application above the list. If you have specified an application in the Internet-based discovery task for discovering these source servers, skip this step.
      • If you have created an application, select the application from the drop-down list and click OK.
      • If you have not created an application, click Create Application in the displayed dialog box. Then enter an application name and description, select a business scenario, environment, and target region, and click Create. Then click OK.
    3. On the top of the server list, choose Migration Scenario > Server migration.
    4. For each source server, click Configure in the Migration Readiness column.
    5. Configure the parameters listed in Table 2.
      Table 2 Parameters for configuring migration readiness

      Parameter

      Configuration

      Type

      Set this parameter based on the source server OS type.

      MgC Agent

      Select the MgC Agent installed in the source environment.

      Access IP Address

      Select the IP address for accessing the source server. It can be a public or private IP address. After the pre-migration check is passed, the IP address you select here will be used for migration.

      Port

      Enter the port on the source server that allows access from the MgC Agent.

      • By default, port 5985 on Windows source servers must be opened to the MgC Agent. The port cannot be changed.
      • By default, port 22 on Linux source servers must be opened to the MgC Agent. You can specify a different port if needed.

      Credential

      Select the server credential. If the credential is not displayed in the list, go to the MgC Agent console, add the server credential, and synchronize it to MgC.

      NOTICE:

      The account provided in the credential must have sufficient permissions, so the MgC Agent can collect necessary server details. To perform a deep collection for the server to collect as much as details, the credential you provided must meet the following requirements:

      • Linux: root and its password
      • Windows: administrator and its password
    6. Click Confirm. The system checks whether the source server can be accessed using the information you provided and whether the server can be migrated. If Ready shows up in the Migration Readiness column, the source server can be migrated. Then you can design a migration solution or design a migration plan to migrate the server.