Skip to content

Commit a8ea74a

Browse files
Merge pull request #224261 from craigshoemaker/aca/subnet-updates
[Container Apps] Subnet updates
2 parents 70f6d5e + a47f2bf commit a8ea74a

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

articles/container-apps/disaster-recovery.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
66
ms.author: cshoe
77
ms.service: container-apps
88
ms.topic: tutorial
9-
ms.date: 6/17/2022
9+
ms.date: 1/18/2023
1010
---
1111

1212
# Disaster recovery guidance for Azure Container Apps
@@ -33,10 +33,10 @@ Additionally, the following resources can help you create your own disaster reco
3333

3434
## Set up zone redundancy in your Container Apps environment
3535

36-
To take advantage of availability zones, you must enable zone redundancy when you create the Container Apps environment. The environment must include a virtual network (VNET) with an infrastructure subnet. To ensure proper distribution of replicas, you should configure your app's minimum and maximum replica count with values that are divisible by three. The minimum replica count should be at least three.
36+
To take advantage of availability zones, you must enable zone redundancy when you create the Container Apps environment. The environment must include a virtual network (VNET) with an available subnet. To ensure proper distribution of replicas, you should configure your app's minimum and maximum replica count with values that are divisible by three. The minimum replica count should be at least three.
37+
38+
### Enable zone redundancy via the Azure portal
3739

38-
### Enable zone redundancy via the Azure portal
39-
4040
To create a container app in an environment with zone redundancy enabled using the Azure portal:
4141

4242
1. Navigate to the Azure portal.
@@ -62,6 +62,9 @@ Create a VNET and infrastructure subnet to include with the Container Apps envir
6262

6363
When using these commands, replace the `<PLACEHOLDERS>` with your values.
6464

65+
>[!NOTE]
66+
> The subnet associated with a Container App Environment requires a CIDR prefix of `/23` or larger.
67+
6568
# [Bash](#tab/bash)
6669

6770
```azurecli

articles/container-apps/firewall-integration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Using custom user-defined routes (UDRs) or ExpressRoutes, other than with UDRs o
2222

2323
The following tables describe how to configure a collection of NSG allow rules.
2424

25+
>[!NOTE]
26+
> The subnet associated with a Container App Environment requires a CIDR prefix of `/23` or larger.
27+
2528
### Inbound
2629

2730
| Protocol | Port | ServiceTag | Description |

articles/container-apps/networking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The second URL grants access to the log streaming service and the console. If ne
153153
## Ports and IP addresses
154154

155155
>[!NOTE]
156-
> The subnet associated with a Container App Environment requires a CIDR prefix of /21 or larger (/20, /19 etc.).
156+
> The subnet associated with a Container App Environment requires a CIDR prefix of `/23` or larger.
157157
158158
The following ports are exposed for inbound connections.
159159

articles/container-apps/vnet-custom-internal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ $VnetName = 'my-custom-vnet'
7575
Now create an instance of the virtual network to associate with the Container Apps environment. The virtual network must have two subnets available for the container app instance.
7676

7777
> [!NOTE]
78-
> You can use an existing virtual network, but a dedicated subnet with a CIDR range of `/21` or larger is required for use with Container Apps.
78+
> You can use an existing virtual network, but a dedicated subnet with a CIDR range of `/23` or larger is required for use with Container Apps.
7979
8080
# [Bash](#tab/bash)
8181

@@ -119,7 +119,7 @@ $vnet = New-AzVirtualNetwork @VnetArgs
119119
---
120120

121121
> [!NOTE]
122-
> Network subnet address prefix requires a CIDR range of `/21`.
122+
> Network subnet address prefix requires a minimum CIDR range of `/23`.
123123
124124
With the VNET established, you can now query for the infrastructure subnet ID.
125125

articles/container-apps/vnet-custom.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following example shows you how to create a Container Apps environment in an
2121
[!INCLUDE [container-apps-create-portal-steps.md](../../includes/container-apps-create-portal-steps.md)]
2222

2323
> [!NOTE]
24-
> Network address prefixes requires a CIDR range of `/21` or larger (`/20`, `/19` etc.).
24+
> Network address prefixes requires a CIDR range of `/23` or larger.
2525
2626
7. Select the **Networking** tab to create a VNET.
2727
8. Select **Yes** next to *Use your own virtual network*.
@@ -94,7 +94,7 @@ $VnetName = 'my-custom-vnet'
9494
Now create an Azure virtual network to associate with the Container Apps environment. The virtual network must have a subnet available for the environment deployment.
9595

9696
> [!NOTE]
97-
> You can use an existing virtual network, but a dedicated subnet with a CIDR range of `/21` or larger is required for use with Container Apps.
97+
> You can use an existing virtual network, but a dedicated subnet with a CIDR range of `/23` or larger is required for use with Container Apps.
9898
9999
# [Bash](#tab/bash)
100100

@@ -336,7 +336,7 @@ You must either provide values for all three of these properties, or none of the
336336

337337
| Parameter | Description |
338338
|---|---|
339-
| `VnetConfigurationPlatformReservedCidr` | The address range used internally for environment infrastructure services. Must have a size between `/21` and `/12`. |
339+
| `VnetConfigurationPlatformReservedCidr` | The address range used internally for environment infrastructure services. Must have a size between `/23` and `/12`. |
340340
| `VnetConfigurationPlatformReservedDnsIP` | An IP address from the `VnetConfigurationPlatformReservedCidr` range that is used for the internal DNS server. The address can't be the first address in the range, or the network address. For example, if `VnetConfigurationPlatformReservedCidr` is set to `10.2.0.0/16`, then `VnetConfigurationPlatformReservedDnsIP` can't be `10.2.0.0` (the network address), or `10.2.0.1` (infrastructure reserves use of this IP). In this case, the first usable IP for the DNS would be `10.2.0.2`. |
341341
| `VnetConfigurationDockerBridgeCidr` | The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
342342

0 commit comments

Comments
 (0)