私有 VPN 中的 Azure Web 应用程序?

Azure Web App in a Private VPN?

我只是想知道是否可以在 Azure 上创建专用网络并在其中放置 Web 应用程序?我知道我可以放置 VM、SQL 实例等,但我的问题特别涉及 Web 应用程序。看起来像这样基本的东西,但似乎无法在这方面取得任何进展......

我的目标是在 Azure 中设置开发、测试和生产环境。我为每个环境设置了一个 VPN。每个 VPN 都有三个子网(Public Web 前端、私有应用服务和一个私有数据子网)

我希望 Dev 和 Test 环境完全私有,但 Prod 应该向 Internet 开放 "Web Front End" 子网。

我找不到将 Web 应用程序放入子网的方法?如果这不可能,那么是否意味着我不能使用 Web 应用程序,而必须使用带有 IIS 的虚拟机?我使用 VPN 和子网的方法不正确吗?

谢谢,

每个

当然 - 您需要设置虚拟网络或混合连接:

Reference #1: Connect to on-premises SQL Server from a web app in Azure App Service using Hybrid Connections

Reference #2: Integrate your app with an Azure Virtual Network

Reference #3: How to place your Web App into the existing Virtual Network (your situation, i guess)

并且您将拥有 VPN/Virtual 网络,该网络将为您的解决方案提供连续的 IP space。

您需要创建一个 App Service Environment (ASE) and deploy your web app there. Instructions on how to do this is available here

另外请注意,目前只能在 v1 虚拟网络中创建 ASE。

之前这仅适用于通过 expressroute.This 通过私有对等互连连接的 azure VM 现在可以使用 azure private link