|
| 1 | +--- |
| 2 | +title: Create a Consumption + Dedicated workload profiles environment (preview) in the Azure portal |
| 3 | +description: Learn to create an environment with a specialized hardware profile in the Azure portal. |
| 4 | +services: container-apps |
| 5 | +author: craigshoemaker |
| 6 | +ms.service: container-apps |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 04/11/2023 |
| 9 | +ms.author: cshoe |
| 10 | +ms.custom: references_regions |
| 11 | +--- |
| 12 | + |
| 13 | +# Manage workload profiles in a Consumption + Dedicated workload profiles plan structure (preview) in the Azure portal |
| 14 | + |
| 15 | +Learn to manage Container Apps environments with workload profile support. |
| 16 | + |
| 17 | +## Supported regions |
| 18 | + |
| 19 | +The following regions support workload profiles during preview: |
| 20 | + |
| 21 | +- North Central US |
| 22 | +- North Europe |
| 23 | +- West Europe |
| 24 | +- East US |
| 25 | + |
| 26 | +<a id="create"></a> |
| 27 | + |
| 28 | +## Create a container app in a workload profile |
| 29 | + |
| 30 | +1. Open the Azure portal. |
| 31 | + |
| 32 | +1. Search for *Container Apps* in the search bar, and select **Container Apps**. |
| 33 | + |
| 34 | +1. Select **Create**. |
| 35 | + |
| 36 | +1. Create a new container app and environment. |
| 37 | + |
| 38 | + :::image type="content" source="media/workload-profiles/azure-container-apps-new-environment.png" alt-text="Screenshot of the create a container apps environment window."::: |
| 39 | + |
| 40 | + Enter the following values to create your new container app. |
| 41 | + |
| 42 | + | Property | Value | |
| 43 | + | --- | --- | |
| 44 | + | Subscription | Select your subscription | |
| 45 | + | Resource group | Select or create a resource group | |
| 46 | + | Container app name | Enter your container app name | |
| 47 | + | Region | Select your region. | |
| 48 | + | Container Apps Environment | Select **Create New**. | |
| 49 | + |
| 50 | +1. Configure the new environment. |
| 51 | + |
| 52 | + :::image type="content" source="media/workload-profiles/azure-container-apps-dedicated-environment.png" alt-text="Screenshot of create an Azure Container Apps Consumption + Dedicated plan environment window."::: |
| 53 | + |
| 54 | + Enter the following values to create your environment. |
| 55 | + |
| 56 | + | Property | Value | |
| 57 | + | --- | --- | |
| 58 | + | Environment name | Enter an environment name. | |
| 59 | + | Plan | Select **(Preview) Consumption and Dedicated workload profiles** | |
| 60 | + |
| 61 | + Select the new **Workload profiles** tab at the top of this section. |
| 62 | + |
| 63 | +1. Select the **Add workload profile** button. |
| 64 | + |
| 65 | + :::image type="content" source="media/workload-profiles/azure-container-apps-add-workload-profile.png" alt-text="Screenshot of the window to add a workload profile to the container apps environment."::: |
| 66 | + |
| 67 | +1. For *Workload profile name*, enter a name. |
| 68 | + |
| 69 | +1. Next to *Workload profile size*, select **Choose size**. |
| 70 | + |
| 71 | + :::image type="content" source="media/workload-profiles/azure-container-apps-add-workload-profile-details.png" alt-text="Screenshot of the window to select a workload profile for your container apps environment."::: |
| 72 | + |
| 73 | +1. In the *Select a workload profile size* window, select a profile from the list. |
| 74 | + |
| 75 | + General purpose profiles offer a balanced mix cores vs memory for most applications. |
| 76 | + |
| 77 | + Memory optimized profiles offer specialized hardware with increased memory or compute capabilities. |
| 78 | + |
| 79 | +1. Select the **Select** button. |
| 80 | + |
| 81 | +1. For the *Autoscaling instance count range*, select the minimum and maximum number of instances you want available to this workload profile. |
| 82 | + |
| 83 | + :::image type="content" source="media/workload-profiles/azure-container-apps-workload-profile-slider.png" alt-text="Screenshot of the window to select the min and max instances for a workload profile."::: |
| 84 | + |
| 85 | +1. Select **Add**. |
| 86 | + |
| 87 | +1. Select **Create**. |
| 88 | + |
| 89 | +1. Select **Review + Create** and wait as Azure validates your configuration options. |
| 90 | + |
| 91 | +1. Select **Create** to create your container app and environment. |
| 92 | + |
| 93 | +## Add profiles |
| 94 | + |
| 95 | +Add a new workload profile to an existing environment. |
| 96 | + |
| 97 | +1. Under the *Settings* section, select **Workload profiles**. |
| 98 | + |
| 99 | +1. Select **Add**. |
| 100 | + |
| 101 | +1. For *Workload profile name*, enter a name. |
| 102 | + |
| 103 | +1. Next to *Workload profile size*, select **Choose size**. |
| 104 | + |
| 105 | +1. In the *Select a workload profile size* window, select a profile from the list. |
| 106 | + |
| 107 | + General purpose profiles offer a balanced mix cores vs memory for most applications. |
| 108 | + |
| 109 | + Memory optimized profiles offer specialized hardware with increased memory or compute capabilities. |
| 110 | + |
| 111 | +1. Select the **Select** button. |
| 112 | + |
| 113 | +1. For the *Autoscaling instance count range*, select the minimum and maximum number of instances you want available to this workload profile. |
| 114 | + |
| 115 | + :::image type="content" source="media/workload-profiles/azure-container-apps-workload-profile-slider.png" alt-text="Screenshot of the window to select the minimum and maximum instances for a workload profile."::: |
| 116 | + |
| 117 | +1. Select **Add**. |
| 118 | + |
| 119 | +## Edit profiles |
| 120 | + |
| 121 | +Under the *Settings* section, select **Workload profiles**. |
| 122 | + |
| 123 | +From this window, you can: |
| 124 | + |
| 125 | +- Adjust the minimum and maximum number of instances available to a profile |
| 126 | +- Add new profiles |
| 127 | +- Delete existing profiles (except for the Consumption profile) |
| 128 | + |
| 129 | +## Delete a profile |
| 130 | + |
| 131 | +Under the *Settings* section, select **Workload profiles**. From this window, you select a profile to delete. |
| 132 | + |
| 133 | +> [!NOTE] |
| 134 | +> The *Consumption* workload profile can’t be deleted. |
| 135 | +
|
| 136 | +## Next steps |
| 137 | + |
| 138 | +> [!div class="nextstepaction"] |
| 139 | +> [Workload profiles overview](./workload-profiles-overview.md) |
0 commit comments