Edit

Share via


Quickstart: Create and connect to a dev box by using the Microsoft Dev Box developer portal

Microsoft Dev Box provides cloud-based developer workstations that you can create and manage on demand. This quickstart shows you how to create a dev box in the Microsoft Dev Box developer portal and connect to it remotely. Follow these steps to quickly set up your cloud development environment and start working on your projects from anywhere.

Create and manage multiple dev boxes as a dev box user. Create a dev box for each task you're working on, and create multiple dev boxes in a single project to streamline your workflow. For example, switch to another dev box to fix a bug in a previous version, or to work on a different part of the application.

Prerequisites

To complete this quickstart, you need:

Product Requirements
Microsoft Dev Box Your organization needs to set up Microsoft Dev Box with at least one project and dev box pool before you create a dev box.
- Platform engineers can follow these steps to set up Microsoft Dev Box: Quickstart: Configure Microsoft Dev Box.
Permissions
- You need permissions as a Dev Box User for a project that has an available dev box pool. If you don't have permissions to a project, contact your admin.
Windows App To connect to a dev box with the Windows App, install the Windows App on your device.
- Download Windows App

Create a dev box

Microsoft Dev Box enables you to create cloud-hosted developer workstations in a self-service way. You can create and manage dev boxes by using the developer portal.

Depending on the project configuration and your permissions, you might have access to different projects and associated dev box configurations. If you have a choice of projects, images, and regions, select the resources that best fit your needs. For example, you might choose a region located near to you for the least latency.

You can create multiple dev boxes in a single project, and you can create multiple dev boxes in different projects. Project administrators can set limits on the number of dev boxes you can create in a project. If you reach the limit, you can't create any more dev boxes in that project until you delete one or more dev boxes.

Important

Your organization must configure Microsoft Dev Box with at least one project and dev box pool before you can create a dev box. If you don't see any projects or dev box pools, contact your administrator.

Create a dev box in the Microsoft Dev Box developer portal:

  1. Go to the developer portal. The landing page contains useful information and links. When you're ready, select Sign in.

    Screenshot of the developer portal landing page with sign-in highlighted.

  2. The first time you visit the developer portal, you're welcomed with a short tour. Select Continue to learn about the developer portal, or select Skip to go straight to the portal.

    Screenshot of the welcome tour in the developer portal.

  1. If you don't have any dev boxes, you see this screen. Select New dev box.

    Screenshot of the developer portal with new dev box highlighted.

  1. In Add a dev box, enter the following values:

    Setting Value
    Name Enter a name for your dev box. Dev box names must be unique within a project.
    Project If available, select a project from the list.
    Image If available, select an image from the list. Choose an image that contains the tools and code needed for your development tasks.
    Region If available, select a region for your dev box. Choose a region close to you for least latency.

    Screenshot of the dialog for adding a dev box in the developer portal.

    After you make your selections, the page shows the following information:

    • How many dev boxes you can create in the selected project, if the project has limits set.
    • Whether Hibernation is supported.
    • Whether you can apply Customizations.
    • The shutdown time if the pool where you're creating the dev box has a shutdown schedule.
    • A notification that the dev box creation process can take 25 minutes or longer.
  2. Select Create to start creating your dev box.

  3. Track the creation progress by using the dev box tile in the developer portal. The status changes from Creating to Running when the dev box is ready for you to connect.

    Screenshot of the developer portal showing the dev box card with a status of Creating.

    Note

    If you get a vCPU quota error with a QuotaExceeded message, ask your admin to request an increased quota limit. If your admin can't increase the quota limit now, try selecting another pool with a region close to your ___location.

Important

A dev box is automatically started and running when the creation process finishes. Dev boxes incur costs whenever they're running.

Connect to a dev box

After you create a dev box, connect to it remotely through the developer portal on your desktop, laptop, tablet, or phone. Microsoft Edge gives you the best experience. The developer portal lets you connect by using Windows App.

Connect by using Windows App

To connect to a dev box by using the Windows App:

  1. Install Windows App on your device. Download Windows App.

  2. Sign in to the developer portal.

  3. Select Connect via app.

    Screenshot of dev box tile, showing the Connect via app option.

Use multiple monitors

You can configure multiple monitors for your dev box. This is useful when you want to work on multiple tasks at the same time, such as debugging and writing code. You can also use multiple monitors to view different applications side by side.

You enable or disable multiple monitors through the user settings in the developer portal:

  1. Sign in to the developer portal.

  2. Select the user settings icon in the top right corner.

    Screenshot of the developer portal, showing the user settings icon in the top right corner.

  3. In User settings, select Use multiple monitors.

    Screenshot of the dev box user settings, showing the option for using multiple monitors.

  4. Close User settings.

Clean up resources

In this quickstart, you created a dev box through the developer portal and connected to it by using a browser.

When you no longer need your dev box, delete it:

  1. Sign in to the developer portal.

  2. For the dev box that you want to delete, on the Actions menu, select Delete.

    Screenshot of the dev box Actions menu with the Delete command.

  3. To confirm the deletion, select Delete.

    Screenshot of the confirmation message about deleting a dev box.

In this quickstart, you created a dev box through the developer portal and connected to it by using a browser.