Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
Go to the developer portal. The landing page contains useful information and links. When you're ready, select Sign in.
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.
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. 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.
Select Create to start creating your dev box.
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.
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:
Install Windows App on your device. Download Windows App.
Sign in to the developer portal.
Select Connect via app.
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:
Sign in to the developer portal.
Select the user settings icon in the top right corner.
In User settings, select Use multiple monitors.
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:
Sign in to the developer portal.
For the dev box that you want to delete, on the Actions menu, select Delete.
To confirm the deletion, select Delete.
Related content
In this quickstart, you created a dev box through the developer portal and connected to it by using a browser.
- Find out What's new in Microsoft Dev Box
- Discover what's coming up next in Microsoft Dev Box: Microsoft Dev Box roadmap
- Learn how to Manage a dev box by using the Microsoft Dev Box developer portal