Azure share devtest lab base between different labs

90 views Asked by At

I have several devtest labs in different resource groups in Azure. I want to be able to use a base image created in one in the other.

I see that other base images are saved as snapshot objects.

enter image description here

I have exported the base that I want as a snapshot, but I can't seem to get it into my devtest lab. When I click add a custom image I only get the option to Upload a VHD from my computer, or use an existing VHD. But I cannot find my snapshot.

1

There are 1 answers

0
Imran On

I have tried in my environment to select the custom image from snapshot.

I have created one DevTest lab and added virtual machine to the DevTest lab like below.

enter image description here

I have created snapshot of particular virtual machine like below:

enter image description here

enter image description here

I have selected the snapshot has a custom image while creating the New Virtual Machine instead of Gallery Image like below.

enter image description here

Alternatively, I have created Mutiple DevTest lab with different resource groups as you mentioned. Unfortunately, it's not supported with different resources like below.

enter image description here

Reference:

Create a custom image from a lab VM - Azure DevTest Labs | Microsoft Learn

Create and add a virtual machine to a lab - Azure DevTest Labs | Microsoft Learn