Create custom images to use within Azure Lab Services

When you set up a new lab in Azure Lab Services, one of the first steps is to choose the image. An image contains the operating system, software applications, files, and settings that are installed on a VM. There are two types of images that you can use when you set up a new lab:
- Marketplace images that are prebuilt by Microsoft for use within Azure. These images have either Windows or Linux installed and may also include software applications. For example, the Data Science Virtual Machine image includes installed deep learning frameworks and tools.
- Custom images that are created by your institution’s IT department and\or other educators. You can create both Windows and Linux custom images and have the flexibility to install Microsoft and 3rd party applications based on your unique needs. You also can add files, change application settings, and more.
In this blog post, we’ll show ways that you can create a custom image and use it to set up new labs.
The first step to use custom images, is to attach a Shared Image Gallery to your lab account. Read the following articles for more information:
Next, you have several options to create Windows and Linux custom images:
- The simplest way to create a custom image is to save the image from a lab’s template virtual machine (VM) using Azure Lab Services' portal. Both IT departments and educators can create custom images using a lab’s template VM.
- For more advanced scenarios, IT departments may find it helpful to create custom images outside of Azure Lab Services using either an Azure VM or a VHD from your physical lab environment.
To decide which option is best for your scenario, read the following article:
Once you decide the best approach, refer to the following articles that provide detailed steps to create a custom image and save it to a Shared Image Gallery:
- How to save a Windows\Linux image from a lab's template VM
- How to bring a custom Windows image from an Azure VM
- How to bring a custom Linux image from an Azure VM
- How to bring a custom Windows image from a VHD
- How to bring a custom Linux image from a VHD
Thanks for reading!
~Azure Lab Services’ team
Published on:
Learn moreRelated posts
Microsoft Azure Fundamentals #2: Designing Real-Time Bi-Directional Sync Between Dataverse and Azure SQL for Multi-Region Deployments
Here’s a detailed technical breakdown of designing a real-time bi-directional sync between Dataverse and Azure SQL for multi-region deployment...
Azure DevOps local MCP Server is generally available
Today we are excited to take our local MCP Server for Azure DevOps out of preview 🥳. Since the initial preview announcement, we’ve work...
Announcing the new Azure DevOps Server RC Release
We’re excited to announce the release candidate (RC) of Azure DevOps Server, bringing new features previously available in our hosted version....
How to Integrate Azure Service Bus with Microsoft Dynamics 365 CRM Step by Step with Example?
Keeping data flowing between applications is critical in today’s connected business world. Organizations using Microsoft Dynamics 365 CR...
Enhancing Secure Sign-Ins with Temporary Access Pass in Azure Active Directory
Introduction While working on improving user account recovery scenarios, a common challenge often arises: how to securely allow a user to sign...
Azure SDK Release (September 2025)
Azure SDK releases every month. In this post, you'll find this month's highlights and release notes. The post Azure SDK Release (September 202...
Batch Processing Triggered Pipeline Runs in Azure Synapse
This post describes a pattern for batch processing triggered pipeline runs in Azure Synapse
Reliably refreshing a Semantic Model from Azure Data Factory or Synapse Pipelines
This post describes a pattern for reliably refreshing Power BI semantic models from Azure Data Factory or Azure Synapse Pipelines.