How can an Azure Web Site reach an Azure hosted virtual machine?
We have a number of virtual machines hosted in Azure, linked to our internal network through ExpressRoute.
We're looking at setting up a web site in Azure Web App Service, and some backing web services in Azure App Service.
But the question is how the web site and web services can connect to the internal VM's, and the web services and SQL databases running on those VM's
答案 0 :(得分:2)
假设您不想在虚拟机上打开允许直接互联网流量的端口,您可以使用Azure网络应用的vnet integration feature。这会将azure web应用程序通过点对点vpn连接到虚拟网络网关,并专门设计为允许Web应用程序访问虚拟网络上运行的资源。
如何为您的网站启用此功能explained here。