To accomplish these and similar scenarios, refer to Configure public endpoint in Azure SQL Managed Instance.Ĭonnecting an application inside the same virtual network as SQL Managed Instance is the simplest scenario.
You can also enable data access to your managed instance from outside a virtual network – for example, from multi-tenant Azure services like Power BI and Azure App Service, or from an on-premises network not connected to your virtual networks via VPN. Whatever choice you make, your application can connect to Azure SQL Managed Instance in a number of different application scenarios inside or between Azure virtual networks. You can also take the hybrid ('mixed') cloud approach and keep your applications on-premises.
You may choose to host an application in the cloud by using Azure App Service or some of Azure's virtual network integrated options, like Azure App Service Environment, Azure Virtual Machines, and Virtual Machine Scale Sets. Today you have multiple choices when deciding how and where you host your application. This article describes how to connect your application to Azure SQL Managed Instance in a number of different application scenarios inside or between Azure virtual networks.