[英]Azure app service - Do I need Vnet integration on both svc plan and app svc?
I have a requirement to use VNET integration on all resources but it seems if I already have it in app-svc it don't need to specify it at the app service plan level.我需要在所有资源上使用 VNET 集成,但如果我已经在 app-svc 中拥有它,它似乎不需要在应用服务计划级别指定它。 Is there is anything I'm missing here?
有什么我在这里想念的吗? The webapps work fine but I'm thinking that perhaps I'm missing something by not specifying vnet integration in the service plan.
webapps 工作正常,但我想我可能因为没有在服务计划中指定 vnet 集成而遗漏了一些东西。 This would help avoiding the extra work of creating new integrations zones for each app service deployed, as you know the relationship is one to one for svc-plans and integration subnets delegated to the service.
这将有助于避免为部署的每个应用程序服务创建新的集成区域的额外工作,因为您知道这种关系对于委派给服务的 svc 计划和集成子网是一对一的。
VNet integration is being done through the application settings of an App Service
, not through the App plans
. VNet 集成是通过
App Service
的应用程序设置完成的,而不是通过App plans
。
If you want to route all of your outbound traffic into your VNet, apply the app setting WEBSITE_VNET_ROUTE_ALL
to your app services.如果要将所有出站流量路由到 VNet,请将应用设置
WEBSITE_VNET_ROUTE_ALL
应用到应用服务。
Adding to the @adp answer: the app setting WEBSITE_VNET_ROUTE_ALL
is now deprecated.添加到@adp 答案:应用程序设置
WEBSITE_VNET_ROUTE_ALL
现在已弃用。 This should be set on the Networking
blade of the app service, by going to VNet integration
.这应该通过转到
VNet integration
在应用服务的Networking
刀片上进行设置。 Once the integration is turned on, it will be possible to activate this setting, as in the screenshot below.打开集成后,就可以激活此设置,如下面的屏幕截图所示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.