Is it possible for an Azure App Service to connect to an On-Premises Database using a Site to Site VPN?

256 Views Asked by At

I have setup an Site-to-Site VPN connection using this guide. I have been researching ways to for my App Service to connect to an on-premises database using this VPN tunnel however I only found information from Point-To-Site and Hybrid Connections. I was wondering if it is possible to achieve this with a Site-to-Site VPN connection.

I am trying to query data from an on-premises database from a web application.

1

There are 1 best solutions below

1
On

Vnet intergation is the component you need for app service to connect with VNet/S2S VPN: https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#access-on-premises-resources