Updated on 2025-08-19 GMT+08:00

Creating a Cross-AZ Migration Workflow

This section describes how to create a cross-AZ migration workflow using the standard template.

Prerequisites

Procedure

  1. Sign in to the MgC console. In the navigation pane, under Project, select an application migration project from the drop-down list.
  2. In the navigation pane, choose Workflows.
  3. Click Create Workflow in the upper right corner of the page.
  4. In the Cross-AZ Migration card, click Preview Steps to view the steps predefined in the template and the detailed description of each step. MgC handles Automated steps, while Manual steps require your action. Click Configure Workflow in the lower right corner.
  5. Configure the workflow parameters listed in Table 1.

    Table 1 Parameters for creating a cross-AZ migration workflow

    Region

    Parameter

    Description

    Workflow Details

    Name

    User-defined

    Description

    User-defined

    Application

    Application

    Select the application which contains the servers to be migrated.

    Migration Settings

    Target Region

    Select the region where the source AZ is located. The region configured in the application is populated by default.

    Target AZ

    Select the AZ you want to migrate to. The configuration must be the same as that of the created application.

    Target Network

    Only Retain original is available.

    Target Server

    Select Create now.

    After the migration is started, the system will create backups and images for the source servers, and immediately use those images to create target servers.

    Stop Target Server

    • If you select Yes, target servers will be stopped after being created.
    • If you select No, target servers will be started after being created.

    Stop Source Server

    • If you select Yes, source servers will be stopped before incremental backups are created for them. This ensures data consistency as high as possible.
    • If you select No, source servers remain running when incremental backups are created for them.

    Create System Disk Image

    • If you select Yes, a system disk image will be created for each of the source servers. These images can be used to reinstall the OS for the paired target servers.
    • If you select No, the system will not create system disk images for the source servers.

    Advanced Settings

    Delete Intermediate Resources

    If this function is enabled, intermediate resources generated during the migration, such as backups, snapshots, and images, will be deleted after the service cutover is complete.

    Retain Primary NIC IP Address

    If this option is enabled, the private and public IP addresses of the primary NIC on source servers will be retained on target servers, and random private IP addresses will be allocated to source servers. If a rollback is needed, it has to be performed manually.

    Send SMN Notifications

    Determine whether to get SMN notifications about the migration workflow. You can configure Topic, Language, and Trigger Condition.

    Before enabling this function, create an SMN topic and subscribe to it. For details, see Publishing a Template Message.

    NOTE:

    You can only choose SMN topics within the default IAM project of the region where you currently use MgC. Ensure that the created SMN topic and MgC are in the same region.

    To enable this function, you need to authorize MgC when the system prompts you.

    You can select one or more trigger conditions.

    • Migration succeeded: A notification will be sent if all resources in the migration workflow are migrated.
    • Migration failed: A notification will be sent if any resource in the migration workflow fails to be migrated.
    • Manual checkpoint: A notification will be sent if all resources in the migration workflow are waiting for manual confirmation.

  6. Click Next: Confirm.
  7. Confirm the workflow settings and click Confirm. The Run Workflow dialog box is displayed, which indicates that the workflow has been created.

    • If you want to start the migration immediately, click Confirm to run the workflow.
    • If you want to add a stage or step to the workflow, click Cancel. The workflow enters a Waiting state, and the migration has not started yet. To start the migration, click Run in the Operation column.

  8. On the migration workflow details page, view the workflow settings and the migration progress.

    • Move the cursor to the migration progress bar. In the box that is displayed, view more migration details.
    • When the migration progress bar reaches a step that requires manual confirmation, move the cursor to the progress bar and click Confirm next to the step status in the displayed window, so that the subsequent migration steps can be executed.