All Products
Search
Document Center

AnalyticDB:Cross-zone disaster recovery

Last Updated:Mar 28, 2026

Cross-zone disaster recovery protects your AnalyticDB for PostgreSQL instance against zone-level failures by deploying primary and secondary nodes across two zones in the same region. If the primary zone becomes unavailable due to a natural disaster or instance failure, the secondary zone nodes automatically take over as the primary nodes to ensure business continuity. Primary and secondary nodes share the same storage capacity.

How it works

image

The instance exposes a single endpoint that connects to the primary zone nodes only. Secondary zone nodes serve as standby replicas and do not accept external connections.

Supported versions

Cross-zone disaster recovery requires a High-availability Edition instance running one of the following versions:

  • V6.6.2.10 or later

  • V7.1.1.0 or later

Note

To check your instance's minor version, see View the minor version of an instance. If your instance does not meet the version requirements, update the minor version before proceeding.

Supported primary zones

Cross-zone disaster recovery is available only for instances in the following zones. The zone you select when creating an instance becomes the primary zone. When enabling the feature, you select only the secondary zone.

RegionZoneSupported
China (Hangzhou)Zone HYes
China (Hangzhou)Zone IYes
China (Hangzhou)Zone JYes
China (Shanghai)Zone FYes
China (Shanghai)Zone GYes
China (Shanghai)Zone LNo
China (Shanghai)Zone MYes
China (Shanghai)Zone NYes
China (Beijing)Zone GYes
China (Beijing)Zone HYes
China (Beijing)Zone IYes
China (Zhangjiakou)Zone BYes
China (Zhangjiakou)Zone CYes
China (Hohhot)Zone AYes
China (Hohhot)Zone BYes
China (Ulanqab)Zone BYes
China (Ulanqab)Zone CYes
China (Shenzhen)Zone AYes
China (Shenzhen)Zone EYes
China (Shenzhen)Zone FYes
China (Chengdu)Zone ANo
China (Hong Kong)Zone CNo
Japan (Tokyo)Zone BNo
SingaporeZone AYes
SingaporeZone BYes
SingaporeZone CNo
Malaysia (Kuala Lumpur)Zone AYes
Malaysia (Kuala Lumpur)Zone BYes
Indonesia (Jakarta)Zone ANo
Germany (Frankfurt)Zone ANo
UK (London)Zone ANo
US (Virginia)Zone AYes
US (Virginia)Zone BYes
US (Silicon Valley)Zone AYes
US (Silicon Valley)Zone BYes
South Korea (Seoul)Zone ANo
Thailand (Bangkok)Zone ANo
SAU (Riyadh - Partner Region)Zone AYes
SAU (Riyadh - Partner Region)Zone BYes

Billing

After you enable cross-zone disaster recovery, computing resource fees are charged at twice the original rate. Storage resource fees remain unchanged. For the exact cost impact, see the configuration change page of your instance.

Enable cross-zone disaster recovery

Important

During the enabling process, your instance may be temporarily unavailable for approximately 20 minutes. Enable it during off-peak hours.

  1. Log on to the AnalyticDB for PostgreSQL console. In the upper-left corner, select a region. Find the target instance and click its ID.

  2. In the upper-right corner of the Basic Information page, choose Manage Instance > Enable Multi-zone Deployment.

  3. In the Enable Multi-zone Deployment message, click OK.

  4. On the Upgrade/Downgrade page, click Enable next to Multi-zone Deployment. Select the secondary zone and secondary zone vSwitch.

  5. Read and select the Terms of Service, then click Buy Now.

View the primary and secondary zones

  1. Log on to the AnalyticDB for PostgreSQL console. In the upper-left corner, select a region. Find the target instance and click its ID.

  2. On the Basic Information page, check the Instance Region and Zone parameter.

FAQ

What does the Current primaryZoneId and standbyZoneId do not support multi az, please reselect error mean?

Your instance's primary zone does not support cross-zone disaster recovery with the secondary zone you selected. Select a different secondary zone and try again. For the list of supported zones, see Supported primary zones.