简体   繁体   English

Azure 应用服务 - 出站 IP 地址与其他出站 IP 地址

[英]Azure App Service - Outbound IP addresses vs Additional Outbound IP Addresses

Azure App Service has 2 types of outbound IP addresses: Azure App Service有2种出站IP地址:

  1. Outbound IP Address:外拨IP地址:
  2. Additional Outbound IP address:附加出站IP地址:

I would like to know from the whitelisting perspective, which category do I need to use in my firewall?我想从白名单的角度知道,我需要在我的防火墙中使用哪个类别?

As far as I know, you should whiteliste the Additional Outbound IP addresses :据我所知,您应该将附加出站 IP 地址列入白名单:

An App Service app runs in an App Service plan, and App Service plans are deployed into one of the deployment units in the Azure infrastructure (internally called a webspace).应用服务应用在应用服务计划中运行,应用服务计划部署到 Azure 基础结构(内部称为网站空间)中的部署单元之一。 Each deployment unit is assigned up to five virtual IP addresses, which includes one public inbound IP address and four outbound IP addresses.每个部署单元最多分配5个虚拟IP地址,其中包括1个公共入站IP地址和4个出站IP地址。 All App Service plans in the same deployment unit, and app instances that run in them, share the same set of virtual IP addresses.同一部署单元中的所有应用服务计划以及在其中运行的应用实例共享同一组虚拟 IP 地址。 For an App Service Environment (an App Service plan in Isolated tier), the App Service plan is the deployment unit itself, so the virtual IP addresses are dedicated to it as a result.对于应用服务环境(隔离层中的应用服务计划),应用服务计划本身就是部署单元,因此虚拟地址 IP 专用于它。

Because you're not allowed to move an App Service plan between deployment units, the virtual IP addresses assigned to your app usually remain the same, but there are exceptions.因为不允许在部署单元之间移动应用服务计划,所以分配给应用的虚拟 IP 地址通常保持不变,但也有例外。

Source . 来源

So for some exceptions like if you scale your app between tier, one or more of the four outbound IP addresses may change (with some of the additional outbound IP addresses) See: When outbound IPs change因此,对于某些例外情况,例如如果您在层之间扩展应用程序,四个出站 IP 地址中的一个或多个可能会更改(以及一些额外的出站 IP 地址)请参阅: 出站 IP 更改时

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM