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

2. In Backups, enable the Geo-redundancy.

3. 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.

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

The following pane is displayed.

Related pages
Was this page helpful?