Skip to content

Commit 0d8fbee

Browse files
authored
add sample calc to multi-tenant
1 parent bd9df6d commit 0d8fbee

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Integrate your app with an Azure virtual network
33
description: Integrate your app in Azure App Service with Azure virtual networks.
44
author: madsd
55
ms.topic: conceptual
6-
ms.date: 05/24/2023
6+
ms.date: 07/21/2023
77
ms.author: madsd
88
ms.custom: UpdateFrequency3
99

@@ -73,7 +73,19 @@ When you scale up/down in size or in/out in number of instances, the required ad
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

7575
>[!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 (up/down) scale.
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.
7789
7890
When you want your apps in your plan to reach a virtual network that's already connected to by apps in another plan, select a different subnet than the one being used by the pre-existing virtual network integration.
7991

0 commit comments

Comments
 (0)