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/vnet-custom-internal.md
+24-59Lines changed: 24 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: container-apps
7
7
ms.topic: how-to
8
-
ms.date: 2/18/2022
8
+
ms.date: 5/16/2022
9
9
ms.author: cshoe
10
10
zone_pivot_groups: azure-cli-or-portal
11
11
---
12
12
13
-
# Provide an virtual network to an internal Azure Container Apps (Preview) environment
13
+
# Provide a virtual network to an internal Azure Container Apps (Preview) environment
14
14
15
15
The following example shows you how to create a Container Apps environment in an existing virtual network.
16
16
17
17
> [!IMPORTANT]
18
-
> In order to ensure the environment deployment within your custom VNET is successful, configure your VNET with an "allow-all" configuration by default. The full list of traffic dependencies required to configure the VNET as "deny-all" is not yet available. Refer to [Known issues for public preview](https://github.com/microsoft/azure-container-apps/wiki/Known-Issues-for-public-preview) for additional details.
18
+
> In order to ensure the environment deployment within your custom VNET is successful, configure your VNET with an "allow-all" configuration by default. The full list of traffic dependencies required to configure the VNET as "deny-all" is not yet available. For more information, see [Known issues for public preview](https://github.com/microsoft/azure-container-apps/wiki/Known-Issues-for-public-preview).
19
19
20
20
::: zone pivot="azure-portal"
21
21
@@ -24,28 +24,24 @@ The following example shows you how to create a Container Apps environment in an
24
24
25
25
7. Select the **Networking** tab to create a VNET.
26
26
8. Select **Yes** next to *Use your own virtual network*.
27
-
9. Next to the *Virtual network* box, select the **Create new** link.
28
-
10. Enter **my-custom-vnet** in the name box.
29
-
11. Select the **OK** button.
30
-
12. Next to the *Control plane subnet* box, select the **Create new** link and enter the following values:
27
+
9. Next to the *Virtual network* box, select the **Create new** link and enter the following value.
31
28
32
29
| Setting | Value |
33
-
|---|---|
34
-
| Subnet name | Enter **my-control-plane-vnet**. |
@@ -213,11 +179,10 @@ The following table describes the parameters used in for `containerapp env creat
213
179
|`logs-workspace-id`| The ID of the Log Analytics workspace. |
214
180
|`logs-workspace-key`| The Log Analytics client secret. |
215
181
|`location`| The Azure location where the environment is to deploy. |
216
-
|`app-subnet-resource-id`| The resource ID of a subnet where containers are injected into the container app. This subnet must be in the same VNET as the subnet defined in `--control-plane-subnet-resource-id`. |
217
-
|`controlplane-subnet-resource-id`| The resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in `--app-subnet-resource-id`. |
182
+
|`infrastructure-subnet-resource-id`| Resource ID of a subnet for infrastructure components and user application containers. |
218
183
|`internal-only`| Optional parameter that scopes the environment to IP addresses only available the custom VNET. |
219
184
220
-
With your environment created with your custom-virtual network, you can create container apps into the environment using the `az containerapp create` command.
185
+
With your environment created in your customvirtual network, you can deploy container apps into the environment using the `az containerapp create` command.
Copy file name to clipboardExpand all lines: articles/container-apps/vnet-custom.md
+26-58Lines changed: 26 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: container-apps
7
7
ms.topic: how-to
8
-
ms.date: 2/18/2022
8
+
ms.date: 05/16/2022
9
9
ms.author: cshoe
10
10
zone_pivot_groups: azure-cli-or-portal
11
11
---
12
12
13
-
# Provide an virtual network to an external Azure Container Apps (Preview) environment
13
+
# Provide a virtual network to an external Azure Container Apps (Preview) environment
14
14
15
15
The following example shows you how to create a Container Apps environment in an existing virtual network.
16
16
17
17
> [!IMPORTANT]
18
-
> In order to ensure the environment deployment within your custom VNET is successful, configure your VNET with an "allow-all" configuration by default. The full list of traffic dependencies required to configure the VNET as "deny-all" is not yet available. Refer to [Known issues for public preview](https://github.com/microsoft/azure-container-apps/wiki/Known-Issues-for-public-preview) for additional details.
18
+
> In order to ensure the environment deployment within your custom VNET is successful, configure your VNET with an "allow-all" configuration by default. The full list of traffic dependencies required to configure the VNET as "deny-all" is not yet available. For more information, see [Known issues for public preview](https://github.com/microsoft/azure-container-apps/wiki/Known-Issues-for-public-preview).
19
19
20
20
::: zone pivot="azure-portal"
21
21
@@ -24,28 +24,24 @@ The following example shows you how to create a Container Apps environment in an
24
24
25
25
7. Select the **Networking** tab to create a VNET.
26
26
8. Select **Yes** next to *Use your own virtual network*.
27
-
9. Next to the *Virtual network* box, select the **Create new** link.
28
-
10. Enter **my-custom-vnet** in the name box.
29
-
11. Select the **OK** button.
30
-
12. Next to the *Control plane subnet* box, select the **Create new** link and enter the following values:
27
+
9. Next to the *Virtual network* box, select the **Create new** link and enter the following value.
31
28
32
29
| Setting | Value |
33
-
|---|---|
34
-
| Subnet name | Enter **my-control-plane-vnet**. |
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 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.
82
78
83
79
> [!NOTE]
84
-
> You can use an existing virtual network, but two empty subnets are 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.
85
81
86
82
# [Bash](#tab/bash)
87
83
@@ -97,16 +93,8 @@ az network vnet create \
97
93
az network vnet subnet create \
98
94
--resource-group $RESOURCE_GROUP \
99
95
--vnet-name $VNET_NAME \
100
-
--name control-plane \
101
-
--address-prefixes 10.0.0.0/21
102
-
```
103
-
104
-
```azurecli
105
-
az network vnet subnet create \
106
-
--resource-group $RESOURCE_GROUP \
107
-
--vnet-name $VNET_NAME \
108
-
--name applications \
109
-
--address-prefixes 10.0.8.0/21
96
+
--name infrastructure-subnet \
97
+
--address-prefixes 10.0.0.0/23
110
98
```
111
99
112
100
# [PowerShell](#tab/powershell)
@@ -123,21 +111,13 @@ az network vnet create `
123
111
az network vnet subnet create `
124
112
--resource-group $RESOURCE_GROUP `
125
113
--vnet-name $VNET_NAME `
126
-
--name control-plane `
127
-
--address-prefixes 10.0.0.0/21
128
-
```
129
-
130
-
```powershell
131
-
az network vnet subnet create `
132
-
--resource-group $RESOURCE_GROUP `
133
-
--vnet-name $VNET_NAME `
134
-
--name applications `
135
-
--address-prefixes 10.0.8.0/21
114
+
--name infrastructure-subnet `
115
+
--address-prefixes 10.0.0.0/23
136
116
```
137
117
138
118
---
139
119
140
-
With the VNET established, you can now query for the VNET, control plane, and app subnet IDs.
120
+
With the virtual network created, you can retrieve the IDs for both the VNETand the infrastructure subnet.
@@ -205,11 +175,9 @@ The following table describes the parameters used in `containerapp env create`.
205
175
|`name`| Name of the container apps environment. |
206
176
|`resource-group`| Name of the resource group. |
207
177
|`location`| The Azure location where the environment is to deploy. |
208
-
|`app-subnet-resource-id`| The resource ID of a subnet where containers are injected into the container app. This subnet must be in the same VNET as the subnet defined in `--control-plane-subnet-resource-id`. |
209
-
|`controlplane-subnet-resource-id`| The resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in `--app-subnet-resource-id`. |
210
-
|`internal-only`| Optional parameter that scopes the environment to IP addresses only available the custom VNET. |
178
+
|`infrastructure-subnet-resource-id`| Resource ID of a subnet for infrastructure components and user application containers. |
211
179
212
-
With your environment created with your custom-virtual network, you can create container apps into the environment using the `az containerapp create` command.
180
+
With your environment created using a customvirtual network, you can now deploy container apps using the `az containerapp create` command.
0 commit comments