Skip to content

Commit 4944368

Browse files
Merge pull request #233726 from cachai2/meupdate
update internal/external networking docs
2 parents 1d196bd + bab7cea commit 4944368

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

articles/container-apps/networking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ As a Container Apps environment is created, you provide resource IDs for a singl
125125

126126
If you're using the CLI, the parameter to define the subnet resource ID is `infrastructure-subnet-resource-id`. The subnet hosts infrastructure components and user app containers.
127127

128+
In addition, if you're using the Azure CLI with the Consumption only architecture and the [platformReservedCidr](vnet-custom-internal.md#networking-parameters) range is defined, both subnets must not overlap with the IP range defined in `platformReservedCidr`.
129+
128130
### Subnet Address Range Restrictions
129131

130132
Subnet address ranges can't overlap with the following ranges reserved by AKS:
@@ -141,8 +143,6 @@ In addition, Container Apps on the workload profiles architecture reserve the fo
141143
- 100.100.160.0/19
142144
- 100.100.192.0/19
143145

144-
If you're using the Azure CLI and the [platformReservedCidr](vnet-custom-internal.md#networking-parameters) range is defined, both subnets must not overlap with the IP range defined in `platformReservedCidr`.
145-
146146
## Routes
147147

148148
User Defined Routes (UDR) and controlled egress through NAT Gateway are supported in the workload profiles architecture, which is in preview. In the Consumption only architecture, these features aren't supported.
@@ -199,7 +199,7 @@ In addition to the [Azure Container Apps billing](./billing.md), you're billed f
199199
- Two standard [Load Balancers](https://azure.microsoft.com/pricing/details/load-balancer/) if using an internal environment, or one standard [Load Balancer](https://azure.microsoft.com/pricing/details/load-balancer/) if using an external environment. Each load balancer has fewer than six rules. The cost of data processed (GB) includes both ingress and egress for management operations.
200200

201201
#### Workload profiles architecture
202-
The name of the resource group created in the Azure subscription where your environment is hosted is prefixed with `me_` by default, and the resource group name *can* be customized during container app environment creation. For external environments, the resource group contains a public IP address used specifically for inbound connectivity to your external environment and a load balancer. For internal environments, the resource group only contains a Load Balancer.
202+
The name of the resource group created in the Azure subscription where your environment is hosted is prefixed with `ME_` by default, and the resource group name *can* be customized during container app environment creation. For external environments, the resource group contains a public IP address used specifically for inbound connectivity to your external environment and a load balancer. For internal environments, the resource group only contains a Load Balancer.
203203

204204
In addition to the [Azure Container Apps billing](./billing.md), you're billed for:
205205
- One standard static [public IP](https://azure.microsoft.com/pricing/details/ip-addresses/) for ingress in external environments and one standard [Load Balancer](https://azure.microsoft.com/pricing/details/load-balancer/).

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

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

23+
> [!NOTE]
24+
> 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 when using the Consumption only Architecture. When using the Workload Profiles Architecture, a `/27` or larger is required. To learn more about subnet sizing, see the [networking architecture overview](./networking.md#subnet).
25+
2326
7. Select the **Networking** tab to create a VNET.
2427
8. Select **Yes** next to *Use your own virtual network*.
2528
9. Next to the *Virtual network* box, select the **Create new** link and enter the following value.
@@ -75,7 +78,7 @@ $VnetName = 'my-custom-vnet'
7578
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.
7679

7780
> [!NOTE]
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.
81+
> Network subnet address prefix requires a minimum CIDR range of `/23` for use with Container Apps when using the Consumption only Architecture. When using the Workload Profiles Architecture, a `/27` or larger is required. To learn more about subnet sizing, see the [networking architecture overview](./networking.md#subnet).
7982
8083
# [Bash](#tab/bash)
8184

@@ -92,15 +95,15 @@ az network vnet subnet create \
9295
--resource-group $RESOURCE_GROUP \
9396
--vnet-name $VNET_NAME \
9497
--name infrastructure-subnet \
95-
--address-prefixes 10.0.0.0/21
98+
--address-prefixes 10.0.0.0/23
9699
```
97100

98101
# [Azure PowerShell](#tab/azure-powershell)
99102

100103
```azurepowershell
101104
$SubnetArgs = @{
102105
Name = 'infrastructure-subnet'
103-
AddressPrefix = '10.0.0.0/21'
106+
AddressPrefix = '10.0.0.0/23'
104107
}
105108
$subnet = New-AzVirtualNetworkSubnetConfig @SubnetArgs
106109
```
@@ -118,9 +121,6 @@ $vnet = New-AzVirtualNetwork @VnetArgs
118121

119122
---
120123

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

126126
# [Bash](#tab/bash)
@@ -312,7 +312,7 @@ You must either provide values for all three of these properties, or none of the
312312

313313
| Parameter | Description |
314314
|---|---|
315-
| `platform-reserved-cidr` | The address range used internally for environment infrastructure services. Must have a size between `/21` and `/12`. |
315+
| `platform-reserved-cidr` | The address range used internally for environment infrastructure services. Must have a size between `/23` and `/12` when using the [Consumption only architecture](./networking.md)|
316316
| `platform-reserved-dns-ip` | An IP address from the `platform-reserved-cidr` 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 `platform-reserved-cidr` is set to `10.2.0.0/16`, then `platform-reserved-dns-ip` 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`. |
317317
| `docker-bridge-cidr` | The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
318318

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

325325
| Parameter | Description |
326326
|---|---|
327-
| `VnetConfigurationPlatformReservedCidr` | The address range used internally for environment infrastructure services. Must have a size between `/21` and `/12`. |
327+
| `VnetConfigurationPlatformReservedCidr` | The address range used internally for environment infrastructure services. Must have a size between `/23` and `/12` when using the [Consumption only architecture](./networking.md) |
328328
| `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`. |
329329
| `VnetConfigurationDockerBridgeCidr` | The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
330330

articles/container-apps/vnet-custom.md

Lines changed: 4 additions & 4 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 `/23` or larger.
24+
> 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 when using the Consumption only Architecture. When using the Workload Profiles Architecture, a `/27` or larger is required. To learn more about subnet sizing, see the [networking architecture overview](./networking.md#subnet).
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 `/23` or larger is required for use with Container Apps.
97+
> Network subnet address prefix requires a minimum CIDR range of `/23` for use with Container Apps when using the Consumption only Architecture. When using the Workload Profiles Architecture, a `/27` or larger is required. To learn more about subnet sizing, see the [networking architecture overview](./networking.md#subnet).
9898
9999
# [Bash](#tab/bash)
100100

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

325325
| Parameter | Description |
326326
|---|---|
327-
| `platform-reserved-cidr` | The address range used internally for environment infrastructure services. Must have a size between `/21` and `/12`. |
327+
| `platform-reserved-cidr` | The address range used internally for environment infrastructure services. Must have a size between `/23` and `/12` when using the [Consumption only architecture](./networking.md)|
328328
| `platform-reserved-dns-ip` | An IP address from the `platform-reserved-cidr` 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 `platform-reserved-cidr` is set to `10.2.0.0/16`, then `platform-reserved-dns-ip` 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`. |
329329
| `docker-bridge-cidr` | The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
330330

@@ -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 `/23` and `/12`. |
339+
| `VnetConfigurationPlatformReservedCidr` | The address range used internally for environment infrastructure services. Must have a size between `/23` and `/12` when using the [Consumption only architecture](./networking.md) |
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)