Microsoft Dev Box - LAB

Brass Contributor

Link : https://learn.microsoft.com/en-us/azure/dev-box/overview-what-is-microsoft-dev-box

 

note that this is a personal effort  :happyface:

 

Design

MohamedT_Trabelsi_0-1699036878254.png

How does Dev Box work?

 

MohamedT_Trabelsi_1-1699036992648.png

How developers are using Microsoft Dev Box ?

Dev Box uses cloud resources to host complete development environments that be accessed from any device anywhere.

 

Infrastructure as code, for code ?

ARM model (Terraform and Bicep in future releases)

 

NOTE:  (Cloudshell)

you need to register a new resource provider 

 

az provider register --namespace Microsoft.DevCenter

 

Concepts & Roles

MohamedT_Trabelsi_1-1699038405649.png

 

Azure Dev Box roles

MohamedT_Trabelsi_2-1699038445486.png

High-level Dev Box workflow

MohamedT_Trabelsi_0-1699296932868.png

 

 

Our Lab : Let's Go 

Create Dev Center

MohamedT_Trabelsi_2-1699284162389.png

 

MohamedT_Trabelsi_0-1699283931175.png

 

MohamedT_Trabelsi_3-1699284230727.png

 

 

Create Virtual Network

MohamedT_Trabelsi_4-1699284915705.png

 

 

Create a Virtual Network Connection and link to Dev Center

MohamedT_Trabelsi_8-1699287758511.png

 

 

==> Our Goal in this step is : Allow the Dev Boxes to connect to the Vnet

MohamedT_Trabelsi_5-1699285356010.png

 

 

MohamedT_Trabelsi_0-1699299132415.png

 

 

Next step, Dev Center ==> Networking ==> Add+ ==> the network connection

 

MohamedT_Trabelsi_7-1699287628498.png

 

Create Dev box definitions

https://learn.microsoft.com/en-us/azure/dev-box/how-to-configure-azure-compute-gallery

 

MohamedT_Trabelsi_9-1699287777502.png

MohamedT_Trabelsi_10-1699287929787.png

 

Create and assign Project

MohamedT_Trabelsi_0-1699288143121.png

Dev Center ==> Projects ==> Create ==> 

MohamedT_Trabelsi_1-1699288305830.png

Next, ==> Limits ==> +Create 

Limits allow you to restrict how many dev boxes each developer can create in a project. A limit of zero will prevent creation of all dev boxes in this project.

 

MohamedT_Trabelsi_2-1699288416361.png

 

 

MohamedT_Trabelsi_3-1699288462802.png

 

If the the Project is available, you must assign all the assignees to manage this project. 

 

 

Affect the role "DevCenter Dev Box User" to the users who will manage the project 

To do that, please refer to this steps : 

 

MohamedT_Trabelsi_4-1699288697228.png

MohamedT_Trabelsi_5-1699288841879.png

 

Create Dev Box Pool

MohamedT_Trabelsi_0-1699296198904.png

 

 

Dev Center ==> Projects ==> "Choose your project" ==> Dev box pools ==> Create

 

MohamedT_Trabelsi_7-1699289029472.png

MohamedT_Trabelsi_0-1699295509091.png

 

 

Create Dev Box 

MohamedT_Trabelsi_6-1699288881466.png

 

Now, you can create the DevBox :cool:

 

So, you can navigate to this link : https://devbox.microsoft.com/

Connect with your account that have the role "DevCenter Dev Box User"

 

Click on 'New Dev box'

MohamedT_Trabelsi_1-1699295646327.png

 

 

Choose the name and click on 'Create'. 

 

MohamedT_Trabelsi_3-1699295793792.png

 

 

Time for provision : +25min  :lol:

 

How to connect to the Dev Box ?
 
01 - Microsoft Dev Box Portal

MohamedT_Trabelsi_1-1699297429028.png

Click on "Connect"

MohamedT_Trabelsi_2-1699297448846.png

MohamedT_Trabelsi_3-1699297498401.png

MohamedT_Trabelsi_4-1699297585391.png

 

MohamedT_Trabelsi_5-1699297917096.png

 

 

 
02 - Remote Desktop Application

MohamedT_Trabelsi_6-1699297978993.png

 

MohamedT_Trabelsi_7-1699298018576.png

 

 

Also, you can manage your Dev Box : 

 

MohamedT_Trabelsi_0-1699298992598.png

 

Configure hibernation in Microsoft Dev Box (Preview)

 

Link : https://learn.microsoft.com/en-us/azure/dev-box/how-to-configure-dev-box-hibernation

 

MohamedT_Trabelsi_0-1699300163406.png

 

 

  • Other informations : 

 

- Pricing : https://azure.microsoft.com/pricing/details/dev-box/?WT.mc_id=AZ-MVP-5004796

-  Configure Azure Compute Gallery for Microsoft Dev Box : https://learn.microsoft.com/en-us/azure/dev-box/how-to-configure-azure-compute-gallery

 

Grant administrative access to Microsoft Dev Box projects : https://learn.microsoft.com/en-us/azure/dev-box/how-to-project-admin

 

Grant user-level access to projects in Microsoft Dev Box : https://learn.microsoft.com/en-us/azure/dev-box/how-to-dev-box-user

 

Control costs by setting dev box limits on a project : https://learn.microsoft.com/en-us/azure/dev-box/tutorial-dev-box-limits

 

Dev Box could  be enrolled into intune ? 

MohamedT_Trabelsi_0-1699297144426.png

 

 

:cool:This is a very good service for developers :cool:

 

0 Replies