Start Free
2025.4 | Server installation and setup | Data Center Edition | On Kubernetes or Openshift | Setting up disaster recovery | Step 1: Deploy primary/replica databases

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.


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved.

Creative Commons License