To ensure business continuity and availability, ApsaraDB RDS for PostgreSQL supports the disaster recovery (DR) deployment feature. With this feature, you can create an RDS for PostgreSQL instance as the DR instance for an existing RDS for PostgreSQL instance in a different region to implement geo-disaster recovery. You can also create a DR instance for an on-premises self-managed instance or an instance hosted on a third-party cloud to implement in-cloud or cross-cloud disaster recovery.
Overview
Type of source instance | Scenario | Description | |
Self-managed instance | Self-managed instance in a data center | Disaster recovery in the cloud | You can create DR instances on Alibaba Cloud for self-managed PostgreSQL instances in a data center to perform disaster recovery in the cloud. Before you create a DR instance, you must use an Express Connect circuit, VPN gateway, Smart Access Gateway (SAG) instance, or Cloud Enterprise Network (CEN) instance to connect the data center to the virtual private cloud (VPC) in which you want to create the DR instance. For more information, see What is Express Connect?, What is VPN Gateway?, What is SAG?, and What is CEN? |
Self-managed instance hosted on a third-party cloud | Multi-cloud disaster recovery | You can create DR instances on Alibaba Cloud for self-managed PostgreSQL instances that are hosted on third-party clouds to provide cross-cloud disaster recovery. Before you create a DR instance, you must use a SAG instance, CEN instance, or Internet NAT gateway to connect third-party clouds to the VPC in which you want to create the DR instance. For more information, see What is SAG?, What is CEN?, and What is an Internet NAT gateway? | |
Self-managed instance on an Alibaba Cloud Elastic Compute Service (ECS) instance | Geo-disaster recovery | You can create DR instances for self-managed PostgreSQL instances that are deployed on ECS instances to provide geo-disaster recovery. If you create a DR instance across regions, the instances reside in different VPCs. You must use a CEN instance or Internet NAT gateway to connect the ECS instance to the VPC in which you want to create the DR instance. For more information, see What is CEN? and What is an Internet NAT gateway? | |
Hosted instance | Instance hosted on a third-party cloud | Multi-cloud disaster recovery | You can create DR instances for PostgreSQL instances that are hosted on third-party clouds to provide multi-cloud disaster recovery. Before you create a DR instance, you must use a SAG instance, CEN instance, or Internet NAT gateway to connect the PostgreSQL instance hosted on third-party clouds to the VPC in which you want to create the DR instance. For more information, see What is SAG?, What is CEN?, and What is an Internet NAT gateway? |
ApsaraDB RDS instance | Geo-disaster recovery | You can create a DR instance for an RDS instance across regions to provide geo-disaster recovery. If you create a DR instance across regions, the instances reside in different VPCs. You must use a CEN instance or Internet NAT gateway to connect the source RDS instance to the VPC in which you want to create the DR instance. For more information, see What is CEN? and What is an Internet NAT gateway? |
A self-managed PostgreSQL instance hosted on a third-party cloud refers to a self-managed PostgreSQL instance that is deployed on a cloud server provided by a third-party cloud service provider, such as Amazon EC2, Azure VM, or Google Cloud Compute Engine.
A PostgreSQL instance hosted on a third-party cloud refers to a PostgreSQL instance that is hosted by a third-party cloud service provider, such as Amazon RDS for PostgreSQL, Azure Database for PostgreSQL, or Google Cloud SQL.
Effective date
September 25, 2024
Prerequisites
A DR instance must meet the following requirements:
The major engine version of the instance is the same as that of the instance for which you want to implement disaster recovery.
The instance is a primary instance. You cannot create the DR instance using a read-only instance.
The billing method of the instance is either pay-as-you-go or subscription. You cannot create the DR instance using a serverless instance.
The instance is empty and its available storage capacity is equal to or larger than the total size of the data in the instance for which you want to implement disaster recovery.