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
Integration Testing Azure Functions with Reqnroll and C#, Part 5 - Using Corvus.Testing.ReqnRoll in a build pipeline
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. In the final post in this serie...
Integration Testing Azure Functions with Reqnroll and C#, Part 4 - Controlling your functions with additional configuration
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. In the fourth of this series of...
Integration Testing Azure Functions with Reqnroll and C#, Part 3 - Using hooks to start Functions
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. In the third of a series of pos...
Integration Testing Azure Functions with Reqnroll and C#, Part 2 - Using step bindings to start Functions
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. In the second of a series of po...
Integration Testing Azure Functions with Reqnroll and C#, Part 1 - Introduction
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. In the first of a series of pos...
Announcing Azure MCP Server 2.0 Stable Release for Self-Hosted Agentic Cloud Automation
Azure MCP Server 2.0 is now generally available, delivering first-class self-hosting, stronger security hardening, and a faster foundation for...
Azure Security: Private Vs. Service Endpoints
When connecting securely to a platform service such as a key vault or an Azure storage account, Microsoft recommends using a private endpoint ...
Give your Foundry Agent Custom Tools with MCP Servers on Azure Functions
Learn how to connect your MCP server hosted on Azure Functions to Microsoft Foundry agents. This post covers authentication options and setup ...
Azure Data Factory Tips for Reliable Microsoft Dynamics 365 CE and Dataverse Integrations
Reliable integrations between Microsoft Dynamics 365 Customer Engagement and external systems can become challenging. This is especially true ...
Scalable AI with Azure Cosmos DB: Tredence Intelligent Document Processing (IDP) | March 2026
Azure Cosmos DB enables scalable AI-driven document processing, addressing one of the biggest barriers to operational scale in today’s enterpr...