You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/networking.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,8 @@ As a Container Apps environment is created, you provide resource IDs for a singl
125
125
126
126
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.
127
127
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
+
128
130
### Subnet Address Range Restrictions
129
131
130
132
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
141
143
- 100.100.160.0/19
142
144
- 100.100.192.0/19
143
145
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
-
146
146
## Routes
147
147
148
148
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
199
199
- 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.
200
200
201
201
#### 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.
203
203
204
204
In addition to the [Azure Container Apps billing](./billing.md), you're billed for:
205
205
- 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/).
> 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
+
23
26
7. Select the **Networking** tab to create a VNET.
24
27
8. Select **Yes** next to *Use your own virtual network*.
25
28
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'
75
78
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.
76
79
77
80
> [!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).
79
82
80
83
# [Bash](#tab/bash)
81
84
@@ -92,15 +95,15 @@ az network vnet subnet create \
> Network subnet address prefix requires a minimum CIDR range of `/23`.
123
-
124
124
With the VNET established, you can now query for the infrastructure subnet ID.
125
125
126
126
# [Bash](#tab/bash)
@@ -312,7 +312,7 @@ You must either provide values for all three of these properties, or none of the
312
312
313
313
| Parameter | Description |
314
314
|---|---|
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)|
316
316
|`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`. |
317
317
|`docker-bridge-cidr`| The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
318
318
@@ -324,7 +324,7 @@ You must either provide values for all three of these properties, or none of the
324
324
325
325
| Parameter | Description |
326
326
|---|---|
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)|
328
328
|`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`. |
329
329
|`VnetConfigurationDockerBridgeCidr`| The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
> 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).
25
25
26
26
7. Select the **Networking** tab to create a VNET.
27
27
8. Select **Yes** next to *Use your own virtual network*.
@@ -94,7 +94,7 @@ $VnetName = 'my-custom-vnet'
94
94
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.
95
95
96
96
> [!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).
98
98
99
99
# [Bash](#tab/bash)
100
100
@@ -324,7 +324,7 @@ You must either provide values for all three of these properties, or none of the
324
324
325
325
| Parameter | Description |
326
326
|---|---|
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)|
328
328
|`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`. |
329
329
|`docker-bridge-cidr`| The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
330
330
@@ -336,7 +336,7 @@ You must either provide values for all three of these properties, or none of the
336
336
337
337
| Parameter | Description |
338
338
|---|---|
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)|
340
340
|`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`. |
341
341
|`VnetConfigurationDockerBridgeCidr`| The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
0 commit comments