Skip to content

Commit a47e802

Browse files
Merge pull request #269933 from madsd/xenon-limits
Xenon core limits
2 parents 8463862 + c231f16 commit a47e802

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

articles/app-service/overview-vnet-integration.md

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,32 @@ When you scale up/down in instance size, the amount of IP addresses used by the
7272

7373
Because subnet size can't be changed after assignment, use a subnet that's large enough to accommodate whatever scale your app might reach. You should also reserve IP addresses for platform upgrades. To avoid any issues with subnet capacity, use a `/26` with 64 addresses. When you're creating subnets in Azure portal as part of integrating with the virtual network, a minimum size of /27 is required. If the subnet already exists before integrating through the portal, you can use a /28 subnet.
7474

75-
>[!NOTE]
76-
> Windows Containers uses an additional IP address per app for each App Service plan instance, and you need to size the subnet accordingly. If you have for example 10 Windows Container App Service plan instances with 4 apps running, you will need 50 IP addresses and additional addresses to support horizontal (in/out) scale.
77-
>
78-
> Sample calculation:
79-
>
80-
> For each App Service plan instance, you need:
81-
> 4 Windows Container apps = 4 IP addresses
82-
> 1 IP address per App Service plan instance
83-
> 4 + 1 = 5 IP addresses
84-
>
85-
> For 10 instances:
86-
> 5 x 10 = 50 IP addresses per App Service plan
87-
>
88-
> Since you have 1 App Service plan, 1 x 50 = 50 IP addresses.
89-
9075
When you want your apps in your plan to reach a virtual network that apps in another plan already connect to, select a different subnet than the one being used by the pre-existing virtual network integration.
9176

77+
### Windows Containers specific limits
78+
79+
Windows Containers uses an additional IP address per app for each App Service plan instance, and you need to size the subnet accordingly. If you have for example 10 Windows Container App Service plan instances with 4 apps running, you will need 50 IP addresses and additional addresses to support horizontal (in/out) scale.
80+
81+
Sample calculation:
82+
83+
For each App Service plan instance, you need:
84+
4 Windows Container apps = 4 IP addresses
85+
1 IP address per App Service plan instance
86+
4 + 1 = 5 IP addresses
87+
88+
For 10 instances:
89+
5 x 10 = 50 IP addresses per App Service plan
90+
91+
Since you have 1 App Service plan, 1 x 50 = 50 IP addresses.
92+
93+
You are in addition limited by the number of cores available in the worker SKU used. Each core adds three "networking units". The worker itself uses one unit and each virtual network connection uses one unit. The remaining units can be used for apps.
94+
95+
Sample calculation:
96+
97+
App Service plan instance with 4 apps running and using virtual network integration. The Apps are connected to two different subnets (virtual network connections). This will require 7 networking units (1 worker + 2 connections + 4 apps). The minimum size for running this configuration would be I2v2 (4 cores x 3 units = 12 units).
98+
99+
With I1v2 you can run a maximum of 4 apps using the same (1) connection or 3 apps using 2 connections.
100+
92101
## Permissions
93102

94103
You must have at least the following Role-based access control permissions on the subnet or at a higher level to configure virtual network integration through Azure portal, CLI or when setting the `virtualNetworkSubnetId` site property directly:

0 commit comments

Comments
 (0)