How do I create a public read only replica for an azure postgresql flexible server which is private ?

Saurav 20 Reputation points
2023-11-29T12:46:56.7766667+00:00

I tried to add a replica for a postgresql flexible server which is private, but in the networking section, there is only option to make the replica private and the public option is disabled by default. Is what I am trying to do technically feasible ? If yes how should I proceed?

I have also created a peer connection between the database vnet and a vnet in a different region,even then when I select this vnet during the replica configuration, only the private connection is selected by default and public connection is disabled.

Azure Database for PostgreSQL
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 29,552 Reputation points Microsoft Employee Moderator
    2023-11-29T19:06:15.9466667+00:00

    Hi @Saurav Welcome to Microsoft Q&A thanks for posting your question.

    Unfortunately, this is not possible, read replica and primary need to use the same network setup. can always use logical replication but it's not a part of managed service.

    Regards

    Geetha


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.