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 Purview: Data Lifecycle Management- Azure PST Import
Azure PST Import is a migration method that enables PST files stored in Azure Blob Storage to be imported directly into Exchange Online mailbo...
How Snowflake scales with Azure IaaS
Microsoft Rewards: Retirement of Azure AD Account Linking
Microsoft is retiring the Azure AD Account Linking feature for Microsoft Rewards by March 19, 2026. Users can no longer link work accounts to ...
Azure Function to scrape Yahoo data and store it in SharePoint
A couple of weeks ago, I learned about an AI Agent from this Microsoft DevBlogs, which mainly talks about building an AI Agent on top of Copil...
Maximize Azure Cosmos DB Performance with Azure Advisor Recommendations
In the first post of this series, we introduced how Azure Advisor helps Azure Cosmos DB users uncover opportunities to optimize efficiency and...
February 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...
Building AI-Powered Apps with Azure Cosmos DB and the Vercel AI SDK
The Vercel AI SDK is an open-source TypeScript toolkit that provides the core building blocks for integrating AI into any JavaScript applicati...
Time Travel in Azure SQL with Temporal Tables
Applications often need to know what data looked like before. Who changed it, when it changed, and what the previous values were. Rebuilding t...