Share via

Creating Private Endpoint for Azure Cosmos DB for PostgreSQL

GeethaThatipatri-MSFT 29,597 Reputation points Microsoft Employee Moderator
2024-07-30T19:05:26.2333333+00:00

How can I create a private endpoint for Azure Cosmos DB for PostgreSQL using a VNET from a different subscription, and why am I encountering the error "The resource type is not a supported resource type"? PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 23,600 Reputation points Volunteer Moderator
    2024-07-30T19:10:05.6333333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    This article help you to setup the endpoint

    https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/howto-private-access

    • Make sure that both the subscription has the Microsoft.DBforPostgreSQL resource provider registered.

    https://learn.microsoft.com/en-us/azure/postgresql/single-server/concepts-data-access-and-security-private-link

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    0 comments No comments

  2. GeethaThatipatri-MSFT 29,597 Reputation points Microsoft Employee Moderator
    2024-07-30T19:07:52.75+00:00

    Greetings!

    You can use one Azure subscription for your Azure Cosmos DB for PostgreSQL cluster and another subscription for their VNet/private endpoints (PEs). You need to make sure that PE(s) are created in the same subscription where VNet is created.

    Lastly, you can add private endpoint for coordinator during cluster creation or on the existing cluster (with or without public access enabled).

     

    Documentation links:

    Regards

    Geetha

    0 comments No comments

Your answer

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