0
votes

I want to access cosmos db through specific ip address only. The only way I can see to achieve this is, specifying that ip address in 'Firewall and Virtual Network' section of azure cosmos db. Is there any other way to achieve this without specifying ip address in firewall ?

2

2 Answers

3
votes

IP Firewall is the right way to do this. Is there a reason why you don't want to use IP Firewall?

0
votes

You can also configure Azure Private Link.It is a set of private IP addresses in a subnet within your virtual network. You can then limit access to an Azure Cosmos account over private IP addresses.More details,please refer to this document.

By the way,you can use User + Permission to limit users accessing the resources.