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
title: "Tutorial: Limit the number of dev boxes in a project to help control costs"#Required; page title displayed in search results. "Tutorial: \<verb\> * \<noun\>". Include the brand.
3
-
description: Each dev box incurs compute and storage costs. This tutorial shows you how to set a limit on the number of dev boxes developers can create in a project.#Required; article description that is displayed in search results. Include the word "tutorial".
4
-
author: RoseHJM#Required; your GitHub user alias, with correct capitalization.
5
-
ms.author: rosemalcolm#Required; microsoft alias of author; optional team alias.
6
-
ms.service: dev-box#Required; service per approved list. service slug assigned to your service by ACOM.
7
-
ms.topic: tutorial#Required; leave this attribute/value as-is.
8
-
ms.date: 06/30/2023 #Required; mm/dd/yyyy format.
2
+
title: "Tutorial: Limit the number of dev boxes in a project to help control costs"
3
+
description: Each dev box incurs compute and storage costs. This tutorial shows you how to set a limit on the number of dev boxes developers can create in a project.
4
+
author: RoseHJM
5
+
ms.author: rosemalcolm
6
+
ms.service: dev-box
7
+
ms.topic: tutorial
8
+
ms.date: 01/11/2024
9
9
10
10
#CustomerIntent: As a project admin, I want to set a limit on the number of dev boxes a dev box user can create as part of my cost management strategy.
You can set a limit on the number of dev boxes each developer can create within a project. You can use this functionality to help manage costs, use resources effectively, or prevent dev box creation for a given project.
16
16
17
-
In the developer portal, you see the number of dev boxes that you've created in a project, and the total number of dev boxes you can create in the project. If you've used all your available dev boxes in a project, you can't create a new dev box.
17
+
In the developer portal, a Dev Box User can see their existing dev boxes and their total number of allocations for each project. When they reach their allocation limit for a project, they can't create a new dev box for that project.
18
18
19
19
In this tutorial, you learn how to:
20
20
21
21
> [!div class="checklist"]
22
22
> * Set a dev box limit for your project by using the Azure portal
23
-
> * View dev box Limits in the developer portal
23
+
> * View dev box limits in the developer portal
24
24
25
25
## Prerequisites
26
26
27
27
- A Dev Box project in your subscription
28
-
- Project Admin permission to that project
28
+
- Project Admin role permissions to that project
29
29
30
30
## Set a dev box limit for your project
31
31
32
-
The dev box limit is the number of dev boxes each developer can create in a project. For example, if you set the limit to 3, each developer in your team can create 3 dev boxes.
32
+
The dev box limit is the number of dev boxes each developer can create in a project. For example, if you set the limit to 3, each developer in your team can create three dev boxes.
33
33
34
34
1. Sign in to the [Azure portal](https://portal.azure.com/).
35
-
1. In the search box, enter *projects*. In the list of results, select **Projects**.
35
+
36
+
1. In the search box, enter **projects**. In the list of results, select **Projects**.
37
+
36
38
1. Select the project that you want to set a limit for.
39
+
37
40
1. On the left menu, select **Limits**.
38
-
1. On the **Limits** page, for **Enable dev box limit**, select **Yes**.
41
+
42
+
1. On the **Limits** page, toggle the **Enable dev box limit** setting to **Yes**.
39
43
40
-
:::image type="content" source="media/tutorial-dev-box-limits/enable-dev-box-limits.png" alt-text="Screenshot showing the dev box limits options for a project, with Yes highlighted.":::
44
+
:::image type="content" source="media/tutorial-dev-box-limits/enable-dev-box-limits.png" alt-text="Screenshot showing the dev box limits options for a project, with Yes highlighted." lightbox="media/tutorial-dev-box-limits/enable-dev-box-limits.png":::
41
45
42
46
1. In **Dev boxes per developer**, enter a dev box limit and then select **Apply**.
43
47
44
-
:::image type="content" source="media/tutorial-dev-box-limits/dev-box-limit-number.png" alt-text="Screenshot showing dev box limits for a project enabled, with dev boxes per developer highlighted.":::
48
+
:::image type="content" source="media/tutorial-dev-box-limits/dev-box-limit-number.png" alt-text="Screenshot showing dev box limits for a project enabled, with dev boxes per developer highlighted." lightbox="media/tutorial-dev-box-limits/dev-box-limit-number.png":::
45
49
46
-
>[!TIP]
47
-
> To prevent developers creating more dev boxes in a project, set the dev box limit to 0. This won’t delete existing dev boxes, but it will prevent further creation of dev boxes in the project.
50
+
>[!TIP]
51
+
> To prevent developers creating more dev boxes in a project, set the dev box limit to 0. This action doesn't delete existing dev boxes, but it prevents creation of new dev boxes in the project.
48
52
49
53
## View dev box limits in the developer portal
50
-
In the developer portal, select a project to see the number of dev boxes you have already created and the total number of dev boxes you can create in that project.
51
54
52
-
:::image type="content" source="media/tutorial-dev-box-limits/dev-boxes-used.png" alt-text="Screenshot showing the developer portal add new dev box pane with a project selected, the number of dev boxes used and the total number of dev boxes.":::
55
+
In the developer portal, select a project to see the number of existing dev boxes and the total number of dev boxes you can create in that project.
56
+
57
+
:::image type="content" source="media/tutorial-dev-box-limits/dev-boxes-used.png" alt-text="Screenshot showing the developer portal Add new dev box pane with a project selected, the number of dev boxes used, and the total number of dev boxes." lightbox="media/tutorial-dev-box-limits/dev-boxes-used.png" :::
53
58
54
-
If you’ve used all your available dev boxes in a project, you see an error message and you can't create a new dev box:
59
+
If all of your available dev boxes in a project are in use, you see an error message and you can't create a new dev box:
55
60
56
-
*Your project administrator has set a limit of 3 dev boxes per user in Contoso-software-dev. Please delete a dev box in this project, or contact your administrator to increase your limit.*
61
+
*Your project administrator has set a limit of \<number> dev boxes per user in \<project name>. Please delete a dev box in this project, or contact your administrator to increase your limit.*
57
62
58
-
:::image type="content" source="media/tutorial-dev-box-limits/dev-box-limit-exceeded.png" alt-text="Screenshot showing the developer portal add new dev box pane with a project selected, and an error message.":::
63
+
:::image type="content" source="media/tutorial-dev-box-limits/dev-box-limit-exceeded.png" alt-text="Screenshot showing the developer portal Add new dev box pane with a project selected, and an error message." lightbox="media/tutorial-dev-box-limits/dev-box-limit-exceeded.png":::
59
64
60
65
## Clean up resources
61
66
62
67
If you're not going to continue to use dev box limits, remove the limit with the following steps:
63
68
64
-
1. In the search box, enter *projects*. In the list of results, select **Projects**.
65
-
1. Select the project that you want to set a limit for.
69
+
1. In the search box, enter **projects**. In the list of results, select **Projects**.
70
+
71
+
1. Select the project associated with the limit that you want to remove.
72
+
66
73
1. On the left menu, select **Limits**.
67
-
1. On the **Limits** page, for **Enable dev box limit**, select **No**.
74
+
75
+
1. On the **Limits** page, change the **Enable dev box limit** setting to **No**.
68
76
69
77
## Next steps
70
78
71
-
-[Use the CLI to configure dev box limits](/cli/azure/devcenter/admin/project)
79
+
-[Use the Azure CLI to configure dev box limits](/cli/azure/devcenter/admin/project)
72
80
-[Manage a dev box project](how-to-manage-dev-box-projects.md)
73
81
-[Microsoft Dev Box pricing](https://azure.microsoft.com/pricing/details/dev-box/)
0 commit comments