Skip to content

Commit 8a66b0f

Browse files
Merge pull request #263084 from GitHubber17/183368-23
Freshness | Microsoft Dev Box procedure
2 parents 49647ce + c6c6c70 commit 8a66b0f

File tree

1 file changed

+34
-26
lines changed

1 file changed

+34
-26
lines changed
Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
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
99

1010
#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.
1111
---
@@ -14,60 +14,68 @@ ms.date: 06/30/2023 #Required; mm/dd/yyyy format.
1414

1515
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.
1616

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.
1818

1919
In this tutorial, you learn how to:
2020

2121
> [!div class="checklist"]
2222
> * 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
2424
2525
## Prerequisites
2626

2727
- A Dev Box project in your subscription
28-
- Project Admin permission to that project
28+
- Project Admin role permissions to that project
2929

3030
## Set a dev box limit for your project
3131

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.
3333

3434
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+
3638
1. Select the project that you want to set a limit for.
39+
3740
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**.
3943

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":::
4145

4246
1. In **Dev boxes per developer**, enter a dev box limit and then select **Apply**.
4347

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":::
4549

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.
4852
4953
## 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.
5154

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" :::
5358

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:
5560

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.*
5762

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":::
5964

6065
## Clean up resources
6166

6267
If you're not going to continue to use dev box limits, remove the limit with the following steps:
6368

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+
6673
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**.
6876

6977
## Next steps
7078

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)
7280
- [Manage a dev box project](how-to-manage-dev-box-projects.md)
7381
- [Microsoft Dev Box pricing](https://azure.microsoft.com/pricing/details/dev-box/)

0 commit comments

Comments
 (0)