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
Dataverse: Avoid Concurrency issues by using Azure Service Bus Queue and Azure Functions
Another blog post to handle the concurrency issue. Previously, I shared how to do concurrency via a plugin in this blog post and also how to f...
March Patches for Azure DevOps Server
We are releasing patches for our self‑hosted product, Azure DevOps Server. We strongly recommend that all customers stay on the latest, most s...
Azure Developer CLI (azd): Debug hosted AI agents from your terminal
New azd ai agent show and monitor commands help you diagnose hosted AI agent failures directly from the CLI. The post Azure Developer CLI (azd...
A Look Ahead at Azure Cosmos DB Conf 2026: From AI Agents to Global Scale
Join us for Azure Cosmos DB Conf 2026, a free global, virtual developer event focused on building modern applications with Azure Cosmos DB. Da...
Announcing general availability of Azure Confidential Computing (ACC) virtual machines for U.S. government environments
Government agencies have an increased need for secure, verifiable, and compliant cloud environments that adhere to data sovereignty regulation...
What is Azure SRE Agent
Azure Developer CLI (azd): One command to swap Azure App Service slots
The new azd appservice swap command makes deployment slot swaps fast and intuitive. The post Azure Developer CLI (azd): One command to swap Az...