Private Endpoint for CosmosDB for MongoDB

Sriguruvel Rajendran 0 Reputation points
2025-01-20T11:53:45.59+00:00

Hi ,

I am trying to achive below thing in Azure.

I have a CosmosDB for MongoDB which is accessible publicly. But i need to connect the MongoDB from MongoDBCompass from my laptop.

I have some resources in Azure which is accessible only when i connect to the Azure VPN from my laptop. like this i have to configure the cosmos DB and networking.

I tried creating private endpoints and DNS but its not working.

Please help me with the steps to achive this.

Thanks in Advance,
Sriguruvel

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,622 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,602 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
{count} votes

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.