Step 1: Deploy the primary and replica databases
The first step of the disaster recovery setup for the Data Center Edition (DCE) deployed on Kubernetes consists in deploying the primary and replica databases.
The setup instructions are based on a Disaster recovery architecture example with Azure resources.
Deploy the primary and replica PostgreSQL databases on Azure as follows:
On the Azure Database for PostgreSQL flexible server creation page of your primary database, select your subscription and resource group.
In Server details > Compute + storage, select Configure server. A new pane opens.

In Backups, enable the Geo-redundancy.

Once the primary database has been deployed, create the replica database. To do so, go to the primary database resource page > Settings > Replication > Create replica. Ensure that you select a different Availability zone than for the primary database.

Create virtual endpoints: go to Database Settings > Replication > Virtual endpoints.

The following pane is displayed.

Related pages
Last updated
Was this helpful?