How to give an Azure SQL DB instance a private IP?

11,307

Solution 1

As of September 2019, Microsoft now has 'private endpoints' in preview for Azure SQL DB.

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-private-endpoint-overview

Solution 2

You cannot give Azure SQL Db any specific IP address. However, you can configure service endpoint of Azure SQL Db to allow any resources inside VNET or from a specific IP. It means inbound to Azure SQL Db can be controlled. It would be a hope to have User-Defined Routing to support Azure SQL Db to route traffic to ExpressRoute.

Share:
11,307

Related videos on Youtube

Neil P
Author by

Neil P

SQL Server and business intelligence developer, also dabbles in C#

Updated on September 18, 2022

Comments

  • Neil P
    Neil P almost 2 years

    I have an Azure SQL DB. Is it possible to give it a local IP address for connections from within my network and vnet so that it forces the traffic over expressroute?

  • Kevin Burandt
    Kevin Burandt over 6 years
    VNet Service Endpoints for Azure SQL Database now generally available azure.microsoft.com/en-us/blog/…
  • EagleDev
    EagleDev over 6 years
    @KevinBurandt it is inbound control only. It means with the service endpoint, you can allow inbound network traffic from subnet's service endpoint enabled to connect to Azure SQL Database.