question

VinceO-6716 avatar image
0 Votes"
VinceO-6716 asked kobulloc-MSFT edited

Can a different Shared Image be the template for an existing Lab?

Because of the specific ports required for Azure Labs, we will need to have our firewall team make changes. (which means a lot of emails, approvals and delay)

Is it possible to pick a different image from the Shared Image Gallery for the template after the lab has been created? This will allow us to easily swap images without creating a new lab and having firewall issues for new public IP. Or, can we move a public IP from one lab to another?

azure-lab-services-templates-virtual-machinesazure-lab-services-base-images
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered kobulloc-MSFT edited

Yes, you can switch images or even Shared Image Galleries in an existing lab (this would be a different question if you were trying to change images on existing VMs within a lab after they had been created).

https://docs.microsoft.com/en-us/azure/devtest-labs/configure-shared-image-gallery


In this example, I've set up a lab and attached my first Shared Image Gallery. I'm able to create VMs based on the two shared images that I've created.

87140-image.png


To use another Shared Image Gallery, I simply detach the first Shared Image Gallery and then attach the second Shared Image Gallery, giving me access to my third shared image.

87243-image.png



image.png (156.1 KiB)
image.png (155.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.