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/workload-profiles-manage-cli.md
+43-25Lines changed: 43 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,15 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: container-apps
7
7
ms.topic: how-to
8
-
ms.date: 04/10/2023
8
+
ms.date: 04/11/2023
9
9
ms.author: cshoe
10
10
zone_pivot_groups: container-apps-vnet-types
11
11
---
12
12
13
-
<!--
14
-
::: zone pivot="aca-vnet-system"
15
-
::: zone-end
16
-
::: zone pivot="aca-vnet-custom"
17
-
::: zone-end
18
-
-->
19
-
20
13
# Manage workload profiles in a Consumption + Dedicated workload profiles plan structure (preview)
21
14
15
+
Learn to manage a Container Apps environment with workload profile support.
16
+
22
17
## Supported regions
23
18
24
19
The following regions support workload profiles during preview:
@@ -32,9 +27,16 @@ The following regions support workload profiles during preview:
32
27
33
28
## Create a container app in a profile
34
29
35
-
::: zone pivot="aca-vnet-system"
30
+
::: zone pivot="aca-vnet-managed"
36
31
37
-
A system-generated VNet manages the complexity of running a virtual network for you, which means you don't have direct control over the VNet configuration. Without direction access to the configuration, you can't use [user defined routes](user-defined-routes.md). If you want to use user defined routes, you need to create a container apps environment with a [custom VNet](./workload-profiles-manage-cli.md?pivots=aca-vnet-custom).
32
+
Azure Container Apps run in an environment, which uses a virtual network (VNet). By default, your Container App environment is created with a managed VNet that is automatically generated for you. Generated VNets are inaccessible to you as they're created in Microsoft's tenant.
33
+
34
+
Create a container apps environment with a [custom VNet](./workload-profiles-manage-cli.md?pivots=aca-vnet-custom) if you need any of the following features:
35
+
36
+
-[User defined routes](user-defined-routes.md)
37
+
- Integration with Application Gateway
38
+
- Network Security Groups
39
+
- Communicating with resources behind private endpoints in your virtual network
38
40
39
41
::: zone-end
40
42
@@ -44,11 +46,11 @@ When you create an environment with a custom VNet, you have full control over th
44
46
45
47
::: zone-end
46
48
47
-
Use the following commands to create an environment with a workload profile.
49
+
Use the following commands to create an environment with workload profile support.
48
50
49
51
::: zone pivot="aca-vnet-custom"
50
52
51
-
1. Create a VNet
53
+
1. Create a VNet.
52
54
53
55
```bash
54
56
az network vnet create \
@@ -58,7 +60,7 @@ Use the following commands to create an environment with a workload profile.
58
60
--name "<VNET_NAME>"
59
61
```
60
62
61
-
1. Create a subnet
63
+
1. Create a subnet delegated to `Microsoft.App/environments`.
62
64
63
65
```bash
64
66
az network vnet subnet create \
@@ -88,8 +90,10 @@ Use the following commands to create an environment with a workload profile.
88
90
89
91
1. Create *Consumption + Dedicated* environment with workload profile support
90
92
93
+
::: zone pivot="aca-vnet-custom"
94
+
91
95
>[!Note]
92
-
> In Container Apps, you can configure whether your Container Apps will allow public ingress or only ingress from within your VNet at the environment level. In order to restrict ingress to just your VNet, you will need to set the `--internal-only` flag.
96
+
> In Container Apps, you can configure whether your Container Apps will allow public ingress or only ingress from within your VNet at the environment level. In order to restrict ingress to just your VNet, you need to set the `--internal-only` flag.
93
97
94
98
# [External environment](#tab/external-env)
95
99
@@ -98,40 +102,37 @@ Use the following commands to create an environment with a workload profile.
This command deploys the application to the built-in Consumption workload profile. If you want to create an app in a dedicated workload profile, you first need to [add the profile to the environment](#add-profiles).
161
179
162
180
This command creates the new application in the environment using a specific workload profile.
0 commit comments