Help Center> Document Database Service> User Guide> Cross-AZ Disaster Recovery> Creating a Cross-AZ Replica Set Instance
Updated on 2023-04-03 GMT+08:00

Creating a Cross-AZ Replica Set Instance

You can deploy a replica set instance across three AZs. Multi-AZ replica set instances have higher DR capabilities than a single-AZ replica set instance and can withstand the impact caused by equipment room faults. To obtain higher DR capability, deploy resources across different AZs in the same region.

This section describes how to create a replica set instance across AZs.

Precautions

  • Only some regions support multi-AZ replica set instances.
  • To create a multi-AZ instance, ensure that there are three or more AZs available in the region.
  • If an instance is deployed in multiple AZs, the primary, secondary, and hidden nodes of the instance are deployed in three different AZs.

Deployment Architecture Comparison

  • Single AZ

    If an instance is deployed in a single AZ, the primary, secondary, and hidden nodes of the instance are deployed in the same AZ.

    Figure 1 Single-AZ deployment
  • Multiple AZs

    If an instance is deployed in multiple AZs, the primary, secondary, and hidden nodes of the instance are deployed in three different AZs for disaster recovery.

    Figure 2 Multi-AZ deployment

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click Buy DB Instance.
  5. Configure the instance details and click Next.

  6. Confirm the order as prompted and complete the payment.