Skip to content

Commit bd9df6d

Browse files
authored
Add subnet size sample calculation
1 parent 9e5a91b commit bd9df6d

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

articles/app-service/environment/networking.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: App Service Environment networking
33
description: App Service Environment networking details
44
author: madsd
55
ms.topic: overview
6-
ms.date: 02/06/2023
6+
ms.date: 07/21/2023
77
ms.author: madsd
88
---
99

@@ -21,7 +21,19 @@ You must delegate the subnet to `Microsoft.Web/hostingEnvironments`, and the sub
2121
The size of the subnet can affect the scaling limits of the App Service plan instances within the App Service Environment. It's a good idea to use a `/24` address space (256 addresses) for your subnet, to ensure enough addresses to support production scale.
2222

2323
>[!NOTE]
24-
> Windows Containers uses an additional IP address per app for each App Service plan instance, and you need to size the subnet accordingly. If your App Service Environment has for example 2 Windows Container App Service plans each with 25 instances and each with 5 apps running, you will need 300 IP addresses and additional addresses to support horizontal (up/down) scale.
24+
> Windows Containers uses an additional IP address per app for each App Service plan instance, and you need to size the subnet accordingly. If your App Service Environment has for example 2 Windows Container App Service plans each with 25 instances and each with 5 apps running, you will need 300 IP addresses and additional addresses to support horizontal (in/out) scale.
25+
>
26+
> Sample calculation:
27+
>
28+
> For each App Service plan instance, you need:
29+
> 5 Windows Container apps = 5 IP addresses
30+
> 1 IP address per App Service plan instance
31+
> 5 + 1 = 6 IP addresses
32+
>
33+
> For 25 instances:
34+
> 6 x 25 = 150 IP address per App Service plan
35+
>
36+
> Since you have 2 App Service plans, 2 x 150 = 300 IP addresses
2537
2638
If you use a smaller subnet, be aware of the following limitations:
2739

0 commit comments

Comments
 (0)