|
| 1 | +--- |
| 2 | +title: How to manage a dev center |
| 3 | +titleSuffix: Microsoft Dev Box |
| 4 | +description: This article describes how to create, delete, and manage Microsoft Dev Box dev centers. |
| 5 | +services: dev-box |
| 6 | +ms.service: dev-box |
| 7 | +author: RoseHJM |
| 8 | +ms.author: rosemalcolm |
| 9 | +ms.date: 08/18/2022 |
| 10 | +ms.topic: how-to |
| 11 | +--- |
| 12 | + |
| 13 | +<!-- Intent: As a dev infrastructure manager, I want to be able to manage dev centers so that I can manage my Microsoft Dev Box implementation. --> |
| 14 | + |
| 15 | +# Manage a dev center |
| 16 | +Development teams vary in the way they function and may have different needs. A dev center helps you to manage these different scenarios by enabling you to group similar sets of projects together and apply similar settings. |
| 17 | +## Permissions |
| 18 | +To manage a dev center, you need the following permissions: |
| 19 | + |
| 20 | +|Action|Permission required| |
| 21 | +|-----|-----| |
| 22 | +|Create or delete dev center|Owner or Contributor permissions on an Azure Subscription or a specific resource group.| |
| 23 | +|Manage a dev center|Owner or Contributor roles, or specific Write permission to the dev center.| |
| 24 | +|Attach or remove network connection|Network Contributor permissions on an existing network connection (owner or contributor).| |
| 25 | + |
| 26 | +## Create a dev center |
| 27 | +Your development teams’ requirements change over time. You can create a new dev center to support organizational changes like a new business requirement or a new regional center. You can create as many or as few dev centers as you need, depending on how you organize and manage your development teams. |
| 28 | + |
| 29 | +The following steps show you how to create a dev center. |
| 30 | + |
| 31 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 32 | + |
| 33 | +1. In the search box, type *Dev centers* and then select **Dev centers** from the Services list. |
| 34 | + |
| 35 | + :::image type="content" source="./media/how-to-manage-dev-center/search-dev-center.png" alt-text="Screenshot showing the Azure portal with the search box highlighted."::: |
| 36 | + |
| 37 | +1. On the dev centers page, select **+Create**. |
| 38 | + :::image type="content" source="./media/how-to-manage-dev-center/create-dev-center.png" alt-text="Screenshot showing the Azure portal Dev center with create highlighted."::: |
| 39 | + |
| 40 | +1. On the **Create a dev center** page, on the **Basics** tab, enter the following values: |
| 41 | + |
| 42 | + |Name|Value| |
| 43 | + |----|----| |
| 44 | + |**Subscription**|Select the subscription in which you want to create the dev center.| |
| 45 | + |**Resource group**|Select an existing resource group or select **Create new**, and enter a name for the resource group.| |
| 46 | + |**Name**|Enter a name for your dev center.| |
| 47 | + |**Location**|Select the location/region you want the dev center to be created in.| |
| 48 | + |
| 49 | + :::image type="content" source="./media/how-to-manage-dev-center/create-dev-center-basics.png" alt-text="Screenshot showing the Create dev center Basics tab."::: |
| 50 | + |
| 51 | + The currently supported Azure locations with capacity are listed here: [Microsoft Dev Box](https://aka.ms/devbox_acom). |
| 52 | + |
| 53 | +1. [Optional] On the **Tags** tab, enter a name and value pair that you want to assign. |
| 54 | + :::image type="content" source="./media/how-to-manage-dev-center/create-dev-center-tags.png" alt-text="Screenshot showing the Create dev center Tags tab."::: |
| 55 | + |
| 56 | +1. Select **Review + Create**. |
| 57 | + |
| 58 | +1. On the **Review** tab, select **Create**. |
| 59 | + |
| 60 | +1. You can check on the progress of the dev center creation from any page in the Azure portal by opening the notifications pane. |
| 61 | + :::image type="content" source="./media/how-to-manage-dev-center/azure-notifications.png" alt-text="Screenshot showing Azure portal notifications pane."::: |
| 62 | + |
| 63 | +1. When the deployment is complete, select **Go to resource**. You'll see the dev center page. |
| 64 | + |
| 65 | +## Delete a dev center |
| 66 | +You may choose to delete a dev center to reflect organizational or workload changes. Deleting a dev center is irreversible and you must prepare for the deletion carefully. |
| 67 | + |
| 68 | +A dev center cannot be deleted any projects are associated with it. You must delete the projects before you can delete the dev center. |
| 69 | +Attached network connections and their associated virtual networks are not deleted when you delete a dev center. |
| 70 | + |
| 71 | +When you're ready to delete your dev center, follow these steps: |
| 72 | + |
| 73 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 74 | + |
| 75 | +1. In the search box, type *Dev centers* and then select **Dev centers** from the Services list. |
| 76 | + |
| 77 | +1. From the dev centers page, open the dev center you want to delete. |
| 78 | + |
| 79 | +1. Select **Delete**. |
| 80 | + :::image type="content" source="./media/how-to-manage-dev-center/delete-dev-center.png" alt-text="Screenshot the dev center page with Delete highlighted."::: |
| 81 | + |
| 82 | +1. In the confirmation message, select **OK**. |
| 83 | + |
| 84 | +## Attach a network connection |
| 85 | +You can attach existing network connections to a dev center. You must attach a network connection to a dev center before it can be used in projects to create dev box pools. |
| 86 | + |
| 87 | +1. In the [Azure portal](https://portal.azure.com), in the search box, type *Dev centers* and then select **Dev centers** from the list. |
| 88 | + |
| 89 | +1. Select the dev center you want to attach the network connection to and select **Networking**. |
| 90 | + |
| 91 | +1. Select **+ Add**. |
| 92 | + |
| 93 | +1. In the **Add network connection** pane, select the network connection you created earlier, and then select **Add**. |
| 94 | + |
| 95 | +## Remove a network connection |
| 96 | +You can remove network connections from dev centers. Network connections cannot be removed if they are in use by one or more dev box pools. When a network connection is removed, it's no longer available for use in dev box pools within the DevCenter. |
| 97 | + |
| 98 | +1. In the [Azure portal](https://portal.azure.com), in the search box, type *Dev centers* and then select **Dev centers** from the list. |
| 99 | + |
| 100 | +1. Select the dev center you want to detach the network connection from and select **Networking**. |
| 101 | + |
| 102 | +1. Select the network connection you want to detach and select **Remove**. |
| 103 | + |
| 104 | +1. In the confirmation message, select **OK**. |
| 105 | +## Assign permissions for users |
| 106 | +You can assign multiple users permissions to a dev center to help with administrative tasks. You can assign users or groups to the following built-in roles: |
| 107 | + |
| 108 | +|**Role**|**Description**| |
| 109 | +|-----|-----| |
| 110 | +|**Owner**|Grants full access to manage all resources, including the ability to assign roles in Azure RBAC.| |
| 111 | +|**Contributor**|Grants full access to manage all resources, but does not allow you to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries.| |
| 112 | +|**Reader**|View all resources, but doesn't allow you to make any changes.| |
| 113 | + |
| 114 | +To make role assignments, use the following steps: |
| 115 | +1. In the [Azure portal](https://portal.azure.com), in the search box, type *Dev centers* and then select **Dev centers** from the list. |
| 116 | + |
| 117 | +1. Select the dev center you want to provide access to. |
| 118 | + |
| 119 | +1. Select **Access Control (IAM)** from the left menu. |
| 120 | + |
| 121 | + :::image type="content" source="./media/how-to-manage-dev-center/dev-center-access-control.png" alt-text="Screenshot showing the dev center page with the Access Control link highlighted."::: |
| 122 | + |
| 123 | +1. Select **Add** > **Add role assignment**. |
| 124 | + |
| 125 | + :::image type="content" source="./media/how-to-manage-dev-center/add-role-assignment.png" alt-text="Screenshot showing the Add menu with Add role assignment highlighted."::: |
| 126 | + |
| 127 | +1. On the Add role assignment page, choose the built-in role you want to assign, and then select **Next**. |
| 128 | + |
| 129 | + :::image type="content" source="./media/how-to-manage-dev-center/dev-center-built-in-roles.png" alt-text="Screenshot showing the Add role assignment search box highlighted."::: |
| 130 | + |
| 131 | +1. On the Members page, select **+ Select Members**. |
| 132 | + |
| 133 | + :::image type="content" source="./media/how-to-manage-dev-center/dev-center-owner-select-members.png" alt-text="Screenshot showing the Members tab with Select members highlighted."::: |
| 134 | + |
| 135 | +1. On the **Select members** pane, select the Active Directory Users or Groups you want to add, and then select **Select**. |
| 136 | + |
| 137 | + :::image type="content" source="./media/how-to-manage-dev-center/select-members-search.png" alt-text="Screenshot showing the Select members pane with a user account highlighted."::: |
| 138 | + |
| 139 | +1. On the Add role assignment page, select **Review + assign**. |
| 140 | +## Next steps |
| 141 | + |
| 142 | +- [Provide access to projects for project admins](./how-to-project-admin.md) |
| 143 | +- [Create dev box definitions](./quickstart-configure-dev-box-service.md#create-a-dev-box-definition) |
| 144 | +- [Configure an Azure Compute Gallery](./how-to-configure-azure-compute-gallery.md) |
0 commit comments