Can't enable private link with my newly created read replica server

Ecccoyao 0 Reputation points
2024-05-17T23:17:19.1033333+00:00

Hi!

I have a postgres SQL flexible server that is created in March 2023, I am not able to enable the private link because the server is created too long ago. I just created read replica server, but it has the same issue that I can't find private link section even though I registered in the preview section.

Can anyone help on that?

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

2 answers

Sort by: Most helpful
  1. Deepanshu katara 6,150 Reputation points
    2024-05-18T06:51:16.73+00:00

    Hi User , Thanks for reaching out to MS Q&A

    I think you are not able to enable the private link not because of create long ago but maybe because you may have selected Private access (vnet integration) option as networking option for your server

    As when you create an Azure Database for PostgreSQL flexible server instance, you must choose one of the following networking options: Private access (VNet integration) or Public access (allowed IP addresses) and Private Endpoint

    User's image

    So can you please check which option you are using and if it is Private access (vnet integration) you cannot change to Public access (allowed IP addresses) and Private Endpoint as once you create an Azure Database for PostgreSQL flexible server, you cannot change the networking option. If you select Public access (allowed IP addresses) when you create the server, you cannot change to Private access (VNet Integration) after the server is created. Similarly, if you select Private access (VNet Integration) when you create the server, you cannot change to Public access (allowed IP addresses) after the server is created. It is recommended to create your server with private access to help secure access to your server via VNet Integration.

    Please check these links for more info ->

    https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-manage-virtual-network-private-endpoint-portal

    https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-networking-private#private-access-vnet-integration

    Kindly accept answer if it helps, Thanks!

    0 comments No comments

  2. GeethaThatipatri-MSFT 28,297 Reputation points Microsoft Employee
    2024-05-20T17:11:55.8366667+00:00

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

    I understand you have registered in preview, however unless you create a new server the feature will not be enabled even if it is a PITR, Replica, etc. 

    https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/private-link-based-networking-is-now-generally-available-in/ba-p/4088711

    Please let me know if you have any additional questions.

    Regards

    Geetha