|
| 1 | +--- |
| 2 | +title: How to manage a dev box pool |
| 3 | +titleSuffix: Microsoft Dev Box |
| 4 | +description: This article describes how to create, and delete Microsoft Dev Box dev box pools. |
| 5 | +services: dev-box |
| 6 | +ms.service: dev-box |
| 7 | +author: RoseHJM |
| 8 | +ms.author: rosemalcolm |
| 9 | +ms.date: 09/16/2022 |
| 10 | +ms.topic: how-to |
| 11 | +--- |
| 12 | + |
| 13 | +<!-- Intent: As a dev infrastructure manager, I want to be able to manage dev box pools so that I can provide appropriate dev boxes to my users. --> |
| 14 | + |
| 15 | +# Manage a dev box pool |
| 16 | +To enable developers to self-serve dev boxes from projects, you must configure dev box pools that specify the dev box definitions and network connections used when dev boxes are created. Dev box users create dev boxes from the dev box pools they have access to through their project memberships. |
| 17 | + |
| 18 | +## Permissions |
| 19 | +To manage a dev box pool, you need the following permissions: |
| 20 | + |
| 21 | +|Action|Permission required| |
| 22 | +|-----|-----| |
| 23 | +|Create, delete, or update dev box pool|Owner or Contributor permissions on an Azure Subscription or a specific resource group. </br> DevCenter Project Admin for the project.| |
| 24 | + |
| 25 | +## Create a dev box pool |
| 26 | +A dev box pool is a collection of dev boxes that you manage together. You must have a pool before users can create a dev box. |
| 27 | + |
| 28 | +The following steps show you how to create a dev box pool associated with a project. You'll use an existing dev box definition and network connection in the dev center to configure a dev box pool. |
| 29 | + |
| 30 | +<!-- how many dev box pools can you create --> |
| 31 | + |
| 32 | +If you don't have an available dev center with an existing dev box definition and network connection, follow the steps in [Quickstart: Configure the Microsoft Dev Box service](quickstart-configure-dev-box-service.md) to create them. |
| 33 | + |
| 34 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 35 | + |
| 36 | +1. In the search box, type *Projects* and then select **Projects** from the list. |
| 37 | + |
| 38 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/discover-projects.png" alt-text="Screenshot showing a search for projects from the Azure portal search box."::: |
| 39 | + |
| 40 | +1. Open the project with which you want to associate the new dev box pool. |
| 41 | + |
| 42 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/projects-grid.png" alt-text="Screenshot of the list of existing projects."::: |
| 43 | + |
| 44 | +1. Select **Dev box pools** and then select **+ Create**. |
| 45 | + |
| 46 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/dev-box-pool-grid-empty.png" alt-text="Screenshot of the list of dev box pools within a project. The list is empty."::: |
| 47 | + |
| 48 | +1. On the **Create a dev box pool** page, enter the following values: |
| 49 | + |
| 50 | + |Name|Value| |
| 51 | + |----|----| |
| 52 | + |**Name**|Enter a name for the pool. The pool name is visible to developers to select when they're creating dev boxes, and must be unique within a project.| |
| 53 | + |**Dev box definition**|Select an existing dev box definition. The definition determines the base image and size for the dev boxes created within this pool.| |
| 54 | + |**Network connection**|Select an existing network connection. The network connection determines the region of the dev boxes created within this pool.| |
| 55 | + |**Dev Box Creator Privileges**|Select Local Administrator or Standard User.| |
| 56 | + |**Licensing**| Select this check box if your organization has Azure Hybrid Benefit licenses that you want to apply to the dev boxes in this pool. | |
| 57 | + |
| 58 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/dev-box-pool-create.png" alt-text="Screenshot of the Create dev box pool dialog."::: |
| 59 | + |
| 60 | +1. Select **Add**. |
| 61 | + |
| 62 | +1. Verify that the new dev box pool appears in the list. You may need to refresh the screen. |
| 63 | + |
| 64 | +The dev box pool will be deployed and health checks will be run to ensure the image and network pass the validation criteria to be used for dev boxes. The screenshot below shows four dev box pools, each with a different status. |
| 65 | + |
| 66 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/dev-box-pool-grid-populated.png" alt-text="Screenshot showing a list of existing pools."::: |
| 67 | + |
| 68 | + |
| 69 | +## Delete a dev box pool |
| 70 | +You can delete a dev box pool when you're no longer using it. |
| 71 | + |
| 72 | +> [!CAUTION] |
| 73 | +> When you delete a dev box pool, all existing dev boxes within the pool will be permanently deleted. |
| 74 | +
|
| 75 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 76 | + |
| 77 | +1. In the search box, type *Projects* and then select **Projects** from the list. |
| 78 | + |
| 79 | +1. Open the project from which you want to delete the dev box pool. |
| 80 | + |
| 81 | +1. Select the dev box pool you want to delete and then select **Delete**. |
| 82 | + |
| 83 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/dev-box-pool-delete.png" alt-text="Screenshot of the list of existing dev box pools, with the one to be deleted selected."::: |
| 84 | + |
| 85 | +1. In the confirmation message, select **Confirm**. |
| 86 | + |
| 87 | + :::image type="content" source="./media/how-to-manage-dev-box-pools/dev-box-pool-delete-confirm.png" alt-text="Screenshot of the Delete dev box pool confirmation message."::: |
| 88 | + |
| 89 | +## Next steps |
| 90 | + |
| 91 | +- [Provide access to projects for project admins](./how-to-project-admin.md) |
| 92 | +- [Create dev box definitions](./quickstart-configure-dev-box-service.md#create-a-dev-box-definition) |
| 93 | +- [Configure an Azure Compute Gallery](./how-to-configure-azure-compute-gallery.md) |
0 commit comments