All Products
Search
Document Center

ApsaraDB RDS:[New features/New specifications] ApsaraDB RDS for MySQL supports cross-zone deployment and nearest access for database proxies

Last Updated:Mar 28, 2026

Starting October 22, 2024, ApsaraDB RDS for MySQL supports cross-zone deployment and nearest access for database proxies. These features enable zone-level disaster recovery across applications, proxies, and databases, and reduce access latency by routing traffic within the same zone.

Effective date

October 22, 2024

Proxy deployment

Database proxies support two deployment types:

  • Single-zone deployment: All proxy nodes are deployed in the same zone.

  • Dual-zone deployment: Proxy nodes are distributed across two zones for cross-zone disaster recovery. No additional fees apply.

Deployment modes

Three deployment modes are available. Choose the mode based on your RDS instance configuration and availability requirements.

Deployment mode 1

image

Use when: Your RDS instance uses dual-zone deployment and you need the highest availability with dedicated proxies. This mode deploys four proxy nodes across two zones, providing full node-level and zone-level fault isolation.

Deployment mode 2

image

Use when: Your RDS instance uses dual-zone deployment and you need cross-zone redundancy with either dedicated or general-purpose proxies, without requiring the four-node capacity of mode 1.

Deployment mode 3

image

Use when: Your RDS instance uses single-zone deployment, or cross-zone disaster recovery is not required.

Mode comparison

Deployment modeZoneTotal proxy nodesSpecification limitSupported proxy type
Deployment mode 1Two zones4Proxy nodes in the same zone must use identical specifications.Dedicated
Deployment mode 2Two zones2All proxy nodes must use identical specifications.Dedicated and general-purpose
Deployment mode 3Single zone2Proxy nodes in the same zone must use identical specifications.Dedicated and general-purpose
After you enable the database proxy feature, you can change the deployment mode. For more information, see Modify database proxy configurations.

Default mode and zones

The default deployment mode is determined by your RDS instance configuration:

RDS instance deploymentDatabase proxy typeDefault deployment modeDefault zone
Single-zone deploymentDedicatedDeployment mode 3Same as the zone of the primary RDS instance.
Single-zone deploymentGeneral-purposeDeployment mode 3Same as the zone of the primary RDS instance.
Dual-zone deploymentDedicatedDeployment mode 1Zone 1: same as the zone of the primary RDS instance. Zone 2: same as the zone of the secondary RDS instance.
Dual-zone deploymentGeneral-purposeDeployment mode 2

Fault handling

The fault handling behavior differs by deployment mode.

Deployment mode 1

  • Proxy node-level fault: The faulty node stops processing traffic. Traffic is rerouted to healthy proxy nodes in the same zone.

  • Zone-level fault: Traffic is rerouted to proxy nodes in the healthy zone. After the faulty zone recovers, new traffic is routed to the recovered proxy node. Existing persistent connections remain unchanged and expire naturally.

If nearest access is enabled and a zone-level fault occurs, the nearest access feature may become temporarily unavailable. Service availability takes priority over access latency to keep the database proxy operational.

Deployment mode 2

Each zone has one proxy node, so a proxy node-level fault is equivalent to a zone-level fault. When a fault occurs, all traffic is rerouted to the proxy node in the other zone.

Deployment mode 3

  • Proxy node-level fault: The faulty node stops processing traffic. Traffic is rerouted to the other proxy node in the same zone.

  • Zone-level fault: The database proxy cannot serve traffic. Wait for the zone to recover, or manually change the deployment mode.

Nearest access

When database proxies are deployed across two zones, enable nearest access to route application traffic to the proxy node in the same zone as the application. This eliminates cross-zone hops between the application and the proxy, minimizing access latency.

To keep all traffic within a zone, add the database nodes in that zone to the proxy endpoint. The proxy endpoint is the original proxy connection point.

2.png

Related topics