Share via

How to Connect two Azure sql Db's without whitelisting ip's in firewall

Anonymous
2023-12-13T20:44:44.77+00:00

We are currently using two db's hosted in two different regions. We are granting access to db1 from db2 by whitelisting the db2 ip address in db1 firewall settings. Is there a way to connect these two db's other than whitelisting ip's?

Azure SQL Database

1 answer

Sort by: Most helpful
  1. Alberto Morillo 35,501 Reputation points MVP Volunteer Moderator
    2023-12-13T22:13:57.78+00:00

    You can configure a Private Link. With a private link clients can connect to the Private endpoint from the same virtual network, peered virtual network in same region, or via virtual network to virtual network connection across regions. Additionally, clients can connect from on-premises using ExpressRoute, private peering, or VPN tunneling.

    With Private Link you do not need to use the IP-based firewall to allow access to any IP address.

    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.