Share via

Wiring up Azure SQL Managed Instance Private Link with ExpressRoute connection

EchoFrankDelta 1 Reputation point
2023-07-06T13:49:08.3033333+00:00

We have a current ExpressRoute configured in Azure. We are routing 10.x.x.x/16 through the ER connection. I created a Azure SQL Managed Instance and want to keep public access completely disabled and unavailable.

The vNet for the SQL MI has a different network space and a single subnet that is delegated to ManagedInstance. I want to be able to connect from a jump box in the DMZ to the SQL managed instance using SSMS. I dont want to have to spin up a bastion and point-to-site isnt an option. They want a private endpoint (link) if possible.

Unfortunately I am not as strong in networking as I would like to be, but this is on my plate so I have to figure it out.

  • Is there a way to configure the networking so that
    • I can connect from the jump box VM to the private endpoint?
      • I dont need to use point-to-site
        • I dont need to use a bastion

Do I need to peer a vnet from the SQL managed instance to the ExpressRoute circuit? If so, how do I configure that particular vNet.?

The ExpressRoute has a gateway, do I need to add another gateway to the SQL vNet?

I am on VPN to the corporate network. I can connect to Azure either on or off VPN, but I would prefer I be able to log into VPN (Checkpoint client) and then be able to access the 10.x.x.x private link using SSMS.

From what I understand I will need to be able to access from SSMS for the next several months even longer.

I played around with the private endpoint and read the documentation, but I just dont get it.

Thanks

Azure SQL Database
Azure Private Link
Azure Private Link

An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.


1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 21,156 Reputation points Microsoft Employee Moderator
    2023-07-19T20:39:13.2966667+00:00

    @EchoFrankDelta Thank you for reaching out.

    My understanding is that you are trying to connect to an Azure SQL Managed Instance from a jump box in the DMZ using a private endpoint.

    Deploy a private endpoint to SQL MI inside the DMZ network (assuming this network is in Azure). No peering would then be necessary: the private endpoint would belong in, and have an IP address from, the DMZ range (assuming this is one of the 10.x.x.x networks), so you will be able to reach it from on-prem via ExpressRoute.

    Regards,

    Oury

    Was this answer helpful?


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.