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

Procedure

  1. Create a custom image for 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 for which you want to create a custom image. Choose More > Disk and Image > Create Custom Image in the Actions column.
    5. Enter the 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 Progress of the image is 100% 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 page, scroll down to the Image section. You can see the custom image you selected is automatically selected. Continue with other settings as prompted and set Purchased Instances to 1.
      On the page:
      • Region: Select the same region as the source instance.
      • Zone: Select the same zone as the source instance.
      • Network Billing Method: 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 page, scroll down to the Image section. You can see the custom image you selected is automatically selected. Continue with other settings as prompted and set Purchased Instances to 2.
      On the page:
      • Region:Select the same region as the source instance.
      • Zone: Select a zone different from that of the source instance.
      • Instance Type section: Set Purchased Instances to 2.
      • Network Billing Method: Clear Assign Public IP Address.

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

Result

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

What to do next

Configure an SLB instance