简体   繁体   English

Azure 应用服务 - 我是否需要在 svc 计划和应用 svc 上集成 Vnet?

[英]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应用到应用服务。

Detailed information can be found here .详细信息可以在这里找到。

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.

相关问题 处于消费计划中的 Azure Logic 应用程序能否通过 VNet 集成调用处于应用程序服务计划中的 azure 函数 - Can an Azure Logic app which is under consumption plan call the the azure function which is under app service plan with VNet integration 如何将azure应用服务计划连接到vnet,该vnet也通过对等连接到另一个vnet - How can I connect an azure app service plan to a vnet which is also connected through peering to another vnet Azure App Service VNET 集成和网络优化 - Azure App Service VNET integration and network optimization Azure App Service VNET与内部DNS的集成 - Azure App Service VNET Integration with Internal DNS Azure VM 和 App Service 通过 VNET 集成 - Azure VM and App Service integration through VNET 应用服务计划不允许 VNET 集成 - App Service Plan doesn't allow VNET Integration 如何从 Azure 服务应用计划中删除/断开 Azure .NET? - How to remove/disconnect an Azure VNET from an Azure Service App Plan? 在vNet性能内与在vNet外具有Azure SQL连接的Azure Web App PaaS(应用服务计划) - Azure Web App PaaS (App Service Plan) with Azure SQL connection inside vNet performance vs outside vNet App Service VNet与Azure存储服务端点集成 - App Service VNet Integration with Azure Storage Service Endpoint Azure 上应用服务的 VNET 集成? - VNET Integration for App Services on Azure?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM