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
| Subnet Address Block | Keep the default values. |
41
41
@@ -74,10 +74,10 @@ $VNET_NAME="my-custom-vnet"
74
74
75
75
---
76
76
77
-
Now create an instance of the virtual network to associate with the Container Apps environment. The virtual network must have and single subnet available for the container apps instance.
77
+
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.
78
78
79
79
> [!NOTE]
80
-
> You can use an existing virtual network, but an empty subnet is required to use with Container Apps.
80
+
> You can use an existing virtual network, but a dedicated subnet is required for use with Container Apps.
81
81
82
82
# [Bash](#tab/bash)
83
83
@@ -93,7 +93,7 @@ az network vnet create \
93
93
az network vnet subnet create \
94
94
--resource-group $RESOURCE_GROUP \
95
95
--vnet-name $VNET_NAME \
96
-
--name infrastructure \
96
+
--name infrastructure-subnet \
97
97
--address-prefixes 10.0.0.0/23
98
98
```
99
99
@@ -111,13 +111,13 @@ az network vnet create `
111
111
az network vnet subnet create `
112
112
--resource-group $RESOURCE_GROUP `
113
113
--vnet-name $VNET_NAME `
114
-
--name infrastructure `
114
+
--name infrastructure-subnet `
115
115
--address-prefixes 10.0.0.0/23
116
116
```
117
117
118
118
---
119
119
120
-
With the VNET established, you can now query for the VNET and infrastructure subnet ID.
120
+
With the virtual network created, you can retrieve the IDs for both the VNET and the infrastructure subnet.
Finally, create the Container Apps environment with the VNET and subnet.
144
+
Finally, create the Container Apps environment using the custom VNET deployed in the preceding steps.
145
145
146
146
# [Bash](#tab/bash)
147
147
@@ -177,7 +177,7 @@ The following table describes the parameters used in `containerapp env create`.
177
177
|`location`| The Azure location where the environment is to deploy. |
178
178
|`infrastructure-subnet-resource-id`| Resource ID of a subnet for infrastructure components and user application containers. |
179
179
180
-
With your environment created in your custom virtual network, you can deploy container apps into the environment using the `az containerapp create` command.
180
+
With your environment created using a custom virtual network, you can now deploy container apps using the `az containerapp create` command.
0 commit comments