4

I'm simply wondering if it is possible to create a private network on Azure and place a web app there? I know I can put VM's, SQL instances etc, but my question concern Web Apps specifically. Seems like such basic thing, but can't seem to make any progress on this...

My goal is to setup a Dev, Test and Prod environment in Azure. I setup a VPN for each environment. Each VPN has three subnets (Public Web Front End, Private App Service, and a private Data sub net)

I want Dev, and Test environments to be completely private, but Prod should have the "Web Front End" subnet open to the Internet.

I cannot find a way to put the Web App in the subnet? If this is not possible, then does that mean I can't use Web Apps, and must instead use a VM with IIS? Is my approach using VPN's and subnets incorrect?

Thanks,

Per

4

3 回答 3

3

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

参考 #1:使用混合连接从 Azure 应用服务中的 Web 应用连接到本地 SQL Server

参考 #2:将您的应用与 Azure 虚拟网络集成

参考#3:如何将您的 Web 应用程序放入现有的虚拟网络(我猜是您的情况)

您将拥有 VPN/虚拟网络,可为您的解决方案提供连续的 IP 空间。

于 2016-05-17T14:51:45.777 回答
2

您需要创建一个应用服务环境(ASE) 并在那里部署您的 Web 应用。此处提供了有关如何执行此操作的说明。

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

于 2016-05-17T15:03:46.370 回答
0

早些时候,这仅适用于通过 expressroute 通过私有对等连接的 azure VM。现在可以使用 azure 私有链接

于 2020-02-19T16:10:25.237 回答