Monday, 22 July 2024

Manage a Microsoft Dev Box dev center

 

Manage a Microsoft Dev Box dev center

Permissions

To manage a dev center, you need the following permissions:

ActionPermissions required
Create or delete a dev centerOwner or Contributor permissions on an Azure subscription or a specific resource group.
Manage a dev centerOwner or Contributor role, or specific Write permission to the dev center.
Attach or remove a network connectionNetwork Contributor permissions on an existing network connection (Owner or Contributor).

Create a dev center

Your development teams' requirements change over time. You can create a new dev center in Microsoft Dev Box 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.

To create a dev center in the Azure portal:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the search results, select Dev centers from the Services list.

    Screenshot that shows the Azure portal with the search box and the result for dev centers.

  3. On the Dev centers page, select Create.

    Screenshot that shows the Azure portal with the Create button on the page for dev centers.

  4. On the Create a dev center pane, on the Basics tab, enter the following values:

    SettingValue
    SubscriptionSelect the subscription in which you want to create the dev center.
    ResourceGroupSelect an existing resource group, or select Create new and then enter a name for the new resource group.
    NameEnter a name for your dev center.
    LocationSelect the location or region where you want the dev center to be created.
    Attach a quick start catalogClear both checkboxes.

    Screenshot that shows the Basics tab on the pane for creating a dev center.

    For a list of the currently supported Azure locations with capacity, see Frequently asked questions about Microsoft Dev Box.

    The Dev Box quick start catalog contains tasks and scripts that you can use to configure your dev box during the final stage of the creation process. You can attach a quick start catalog to a dev center later. For more information, see Create reusable dev box customizations.

  5. (Optional) On the Tags tab, enter a name/value pair that you want to assign.

    Screenshot that shows the Tags tab on the page for creating a dev center.

  6. Select Review + Create.

  7. On the Review tab, select Create.

  8. Monitor the progress of the dev center creation from any page in the Azure portal by opening the Notifications pane.

    Screenshot that shows the Notifications pane in the Azure portal.

  9. When the deployment completes, select Go to resource. Confirm that the dev center page appears.

Delete a dev center

You might choose to delete a dev center to reflect organizational or workload changes. Deleting a dev center in Microsoft Dev Box is irreversible, and you must prepare for the deletion carefully.

A dev center can't be deleted while any projects are associated with it. You must delete the projects before you can delete the dev center.

Attached network connections and their associated virtual networks aren't deleted when you delete a dev center.

When you're ready to delete your dev center, follow these steps:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the search results, select Dev centers from the Services list.

  3. On the Dev centers page, open the dev center that you want to delete.

  4. Select Delete.

    Screenshot of the Delete button on the page for a dev center.

  5. In the confirmation message, select OK.

Attach a network connection to a dev center

You can attach existing network connections to a dev center. You must attach a network connection to a dev center before you can use it in projects to create dev box pools.

Network connections enable dev boxes to connect to existing virtual networks. The location, or Azure region, of the network connection determines where associated dev boxes are hosted.

To attach a network connection to a dev center in Microsoft Dev Box:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the list of results, select Dev centers.

  3. Select the dev center that you created, and then select Networking.

  4. Select + Add.

  5. On the Add network connection pane, select the network connection that you created earlier, and then select Add.

    Screenshot that shows the pane for adding a network connection.

After you attach a network connection, the Azure portal runs several health checks on the network. You can view the status of the checks on the resource overview page.

Screenshot that shows the status of a network connection.

You can add network connections that pass all health checks to a dev center and use them to create dev box pools. Dev boxes within dev box pools are created and domain joined in the location of the virtual network assigned to the network connection.

To resolve any errors, see Troubleshoot Azure network connections.

Remove a network connection from a dev center

You can remove network connections from dev centers. Network connections can't be removed if one or more dev box pools are using them.

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the list of results, select Dev centers.

  3. Select the dev center that you created, and then select Networking.

  4. Select the network connection that you want to remove, and then select Remove.

    Screenshot that shows the Remove button on the network connection page.

  5. Review the warning message, and then select OK.

No comments:

Post a Comment