简体   繁体   中英

Connect to SQL Server hosted on-prem from Azure

A client company has a VPN. There is a SQL Server database on the VPN.

We have an Azure App Service that needs to read and write from the SQL Server db.

Here are the options I ruled out:

  • Private Endpoints - seems like this would allow the REVERSE of what I want. Someone from a non-Azure VPN could connect to an Azure IP.
  • Express Route/MPLS - this would work, but requires time-consuming physical connections to Azure, eg SQL Server VPN --> local Azure partner via physical cable --> Azure.

With that said, I don't know what options are left. The end goal is to quickly (and as simply as possible) to set up connections to SQL Server DBs on VPNs and Azure App Services. We have full co-operation from our clients with the SQL Server DBs, but it would be best to keep the steps simple.

I can't seem to even find a good starting point on this besides Express Route, which I have done and don't want to do again.

Is VPN Gateway the simples/cheapest option? Since we need to do this about 50+ times, I would rather require as little set up from the client as possible.

If they have a Site-to-Site VPN connection to Azure you can use App Service VNet Integration . This requires setup of a S2S VPN and configuring Azure networking.

Otherwise you have to use App Service Hybrid Connections . This requires setting up a relay agent on an on-prem server that can reach both the SQL Server and Azure.

Best option would be configure site-to-site vpn connection from azure to your on-premise.

在此处输入图像描述

https://docs.hillstonenet.com/en/Content/Cookbook/cb29-Site-to-Site%20VPN.htm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM