This topic describes how to use a custom image created from a source instance to create three ECS instances for multi-zone disaster recovery. One instance is assigned to the same zone as the source instance, and the other two instances are assigned to a different zone in the same region as the source instance.

Prerequisites

  • An Alibaba Cloud account is created. To create an Alibaba Cloud account, go to the account registration page.
  • You have an ECS instance to be replicated.

Procedure

  1. Create a custom image from an ECS instance.
    1. Log on to the ECS console.
    2. In the left-side navigation pane, choose Instances & Images > Instances.
    3. In the top navigation bar, select a region.
    4. Find the instance from which you want to create a custom image. In the Actions column, choose More > Disk and Image > Create Custom Image.
    5. Enter an image name and description.
    6. Click Create.
      Note Image creation may take a while.
      In the left-side navigation pane, choose Instances & Images > Images. When the progress of the image reaches 100% in the Progress column and the status becomes Available, the image is created.Custom Image
  2. Create three ECS instances from the created custom image.
    1. In the left-side navigation pane, choose Instances & Images > Images.
    2. On the Custom Images tab of the Images page, find the custom image created in the previous step. Click Create Instance in the Actions column corresponding to the image.
    3. On the Custom Launch tab, scroll down to the Image section. The custom image you selected is automatically selected. Continue with other settings as prompted and set Quantity to 1.
      where:
      • Region: Select the same region as the source instance.
      • Zone: Select the same zone as the source instance.
      • Public IP Address: Clear Assign Public IP Address.

      For more information, see Create an instance by using the provided wizard.

    4. Repeat Step a and Step b. On the Custom Launch tab, scroll down to the Image section. The custom image you selected is automatically selected. Continue with other settings as prompted and set Quantity to 2.
      where:
      • Region: Select the same region as the source instance.
      • Zone: Select a zone different from that of the source instance.
      • Instance Type: Set Quantity to 2.
      • Public IP Address: Clear Assign Public IP Address.

      For more information, see Create an instance by using the provided wizard.

Result

In the left-side navigation pane, choose Instances & Images > Instances. On the Instances page, the four ECS instances are in the Running state. Two instances are located in a zone, and the other two are located in another zone.

What to do next

Configure an SLB instance