简体   繁体   中英

Azure App Service integration with SQL Server in VM

I have an dotnet app which is running in azure app service and my data base is running on Azure Vm (IAAS), now i would like to access my application with SQL Server which is running on vm.

What is the recommended solution to achieve above, should i use private endpoint or service endpoint?

To allow your app service to access the database in the VM, you need to Integrate your app with an Azure virtual network . VNet Integration gives your app access to resources in your VNet, but it doesn't grant inbound private access to your app from the VNet. VNet Integration is used only to make outbound calls from your app into your VNet.

If you need to expose your app on a private IP in your virtual network. You could use Private Endpoints for Azure Web App .

More References:

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