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
Powering Real-Time Messaging at Scale with Azure Cosmos DB
Microsoft Teams, Copilot, Azure Communication Services and many other product offerings from Microsoft, rely on a unified messaging platform t...
Azure SQL Cryptozoology AI Embeddings Lab Now Available!
Missed out on MS Build 2025? No worries! Our lab is now available for your exploration. Dive into a unique cryptozoology experience using Azur...
Vector Support Public Preview now extended to Azure SQL MI
We are thrilled to announce that Azure SQL Managed Instance now supports Vector type and functions in public preview. This builds on the mome...
Building Multi-Agent AI Apps in Java with Spring AI and Azure Cosmos DB!
As AI-driven apps become more sophisticated, there’s an increasing need for them to mimic collaborative problem solving – like a t...
What runs ChatGPT, Sora, DeepSeek & Llama on Azure? (feat. Mark Russinovich)
Build and run your AI apps and agents at scale with Azure. Orchestrate multi-agent apps and high-scale inference solutions using open-source a...
Azure Cosmos DB TV – Everything New in Azure Cosmos DB from Microsoft Build 2025
Microsoft Build 2025 brought major innovations to Azure Cosmos DB, and in Episode 105 of Azure Cosmos DB TV, Principal Program Manager Mark Br...
Azure DevOps with GitHub Repositories – Your path to Agentic AI
GitHub Copilot has evolved beyond a coding assistant in the IDE into an agentic teammate – providing actionable feedback on pull requests, fix...