Unable to Create Private Endpoint Azure Postgres Flexible Server on Private Subnet

Gourab Nandi 0 Reputation points
2024-09-19T10:01:37.5+00:00

Hello Everyone,

I've created a Postgres flexible server (16) on a private subnet which is delegated to PostgreSQL/flexibleServers, able to create the private DNS zone as well. But while creating the private endpoint I choose an already created Resource Group(same where db is), call my Private Endpoint "apdb-private-endpoint", in "Type of Resource" I choose "Microsoft.DBforPostgreSQL/flexibleServers", on "Resource", but when I choose my PostgreSQL flexible server its saying "No sub resource available"

Region: Central India

SKU: Standard_B1ms

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 15,421 Reputation points
    2024-09-20T08:46:45.1333333+00:00

    Hi Gourab Nandi,

    Welcome to Microsoft Q&A forum.

    As I understand, you are Unable to Create Private Endpoint Azure Postgres Flexible Server on Private Subnet.

    Private links are available only for servers that have public access networking. They can't be created for servers that have private access (virtual network integration).

    Private links can be configured only for servers that were created after the release of this feature. Any server that existed before the release of the feature can't be set with private links.

    Here are some limitations for working with virtual networks created via virtual network integration:

    • After an Azure Database for PostgreSQL flexible server is deployed to a virtual network and subnet, you can't move it to another virtual network or subnet. You can't move the virtual network into another resource group or subscription.
    • Subnet size (address spaces) can't be increased after resources exist in the subnet.
    • Virtual network injected resources can't interact with Private Link by default. If you want to use Private Link for private networking, see Azure Database for PostgreSQL - Flexible Server networking with Private Link.

    Let me know if this meets in your case.

    Thanks


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.