Azure Pipelines with AIB and SIG to WVD

Mike Lister 21 Reputation points
2020-11-17T20:48:37.01+00:00

Hi,

I'm looking for some resources or information regarding Building an image using Azure Image Builder (AIB), storing the image in Azure's Shared Image Gallery (SIG) and then deploying the image to 800 or so VM's in Azure's Windows Virtual Desktop (WVD).

I've been following Daniel Sol from Github (https://github.com/danielsollondon/azvmimagebuilder/blob/master/solutions/1_Azure_DevOps/BuildaPipeline.md)

There is a video he's done on Youtube talking about it as well and mentions to deploy software have it in your Repo and it will get downloaded to the VM during the build process and then you can run installations. In his example he uses a Server, I'm trying Win10 Multi Session edition and using his powershell technique on Inline customization script suggests each line can trigger a different install.

Examples of software would be FSLogix, 7Zip for example

There is also a tickbox on the image builder task to install any updates required so this would be a great way to inject updates into the image using a CI\CD pipeline to keep our image up to date with the latest updates and applications.

I've read that AIB is actually using Packer and found this article from last year that does something similar (https://jrudlin.github.io/2019-09-02-windows-virtual-desktop-azure-devops-ci-cd-packer-build-and-release/) with a similar approach but mounting a drive and installing applications from Azure Storage instead.

I'm looking for more examples updated or guidance to get this working either in stages (Stage 1 create an image and deploy to the gallery, stage 2 deploy the image to WVD)

Thanks

Mike

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,041 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,585 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.