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 Sign up to Alibaba Cloud page.
- You have an ECS instance to be replicated.
Procedure
- Create a custom image from an ECS instance.
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- Find the instance from which you want to create a custom image. In the Actions column, choose .
- Enter an image name in the Custom Image Name field and enter a description in the Custom Image Description field.
- Click Create.
Note It may take a while to create the image.
In the left-side navigation pane, choose . When the progress of the image reaches 100% in the
Progress column and the status becomes
Available, the image is created.
- Create three ECS instances from the created custom image.
- In the left-side navigation pane, choose .
- 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.
- 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 wizard.
- 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 wizard.
Result
In the left-side navigation pane, choose . 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.