Sunday, January 3, 2021

Run a Hackathon or Classroom Labs in Azure

 

Azure Lab Services











Are you planning to conduct a hackathon or classroom labs in your organization but are short of time to procure hardware, licenses etc. Look no further — Azure Lab Services helps you to quickly set up a development, test, hackathon, or a classroom lab for your team or students in the cloud.

Some salient features of Azure Lab Services include

  1. Automatic management of Infrastructure and scale: Azure Lab Services is a managed service, which means that provisioning and management of a lab’s underlying infrastructure is handled automatically by the service. Scale your lab to hundreds of virtual machines with a single click.


Getting Started

- Setting up Azure Lab Services is a multi-step process. Head over to Azure Portal and search for Lab Services.

- Create a Lab Account in your Azure subscription


















You can also attach a Shared Image Gallery to version your custom images as well as peer a virtual network to access resources in your VNet. For this demo, I’m going to skip these two options.


Once the lab account is created, head over  to  Lab Services PortalThe Lab VMs will be running in Microsoft’s managed tenant so you’ll not see any VMs in your subscription.

  • Create a new Lab, provide VM credentials and set the Lab policies. The lab creation will take at least 20 minutes.








Once the lab is provisioned, you should see something like below


Click on the lab that you just created.

You will see the Lab’s Dashboard. From here you can work on the Template, add VM pool, Users and the Lab schedule.

Click on Template. Initially the template will be in Stopped State. Go ahead and start the template. RDP in to the template VM. This is like a base image VM in which you’ll install all your custom software. Now you’ll see an option to Publish the VM. This is the image that you’ll use to create Lab VMs or create new Labs in the future.





You can set the max VMs now or have an option to set the max VMs after the template is published.

Invite Students/Users to the Lab

You’ll see options to manually add users or upload a CSV.



Click on Invite all to send an invite to your students. Once the user completes the registration, they’ll get access to https://labs.azure.com and RDP into their Lab VM.

Set a Lab Schedule

As an example I created a lab schedule for a week from 8 am to 5 pm.



Conclusion

We have just scratched the surface  of Azure Lab Services. Microsoft has published an excellent documentation on Azure Lab Services. I highly recommend you to review the docs and consider using Azure Lab Services to conduct any hackathon or classroom labs in the Cloud.

References

- Azure Lab Services architecture

- Azure Lab Services Product team’s Blog

Classroom Types in Azure Lab Services

- Azure Lab Services integration in Microsoft Teams

No comments:

Post a Comment