OS image lifecycle - looking for how-to or best practice guide

%3CLINGO-SUB%20id%3D%22lingo-sub-1276883%22%20slang%3D%22en-US%22%3EOS%20image%20lifecycle%20-%20looking%20for%20how-to%20or%20best%20practice%20guide%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1276883%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20question%20about%20the%20OS%20image%20lifecycle.%20I%20have%20read%20that%20you%20can%20and%20must%20customize%20the%20master%20image.%20For%20example%20to%20install%20and%20use%20another%20language.%20Or%20to%20provide%20one%20application%20for%20all.%20But%20how%20does%20that%20work%20exactly%3F%20Create%20an%20image%2C%20change%20it%20and%20use%20it%20as%20a%20template%20again.%20Do%20I%20have%20to%20download%20the%20image%20for%20this%3F%20Does%20it%20work%20online%3F%20And%20how%20do%20I%20roll%20out%20the%20modified%20image%20for%20everyone%3F%20If%20a%20user%20is%20logged%20on%20to%20the%20VM%20at%20the%20time%20of%20deployment%2C%20is%20he%20or%20she%20forced%20to%20log%20off%3F%20Do%20I%20always%20create%20new%20session%20hosts%3F%20If%20so%2C%20how%20do%20I%20remove%20the%20old%20ones%20correctly%20and%20completely%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1277806%22%20slang%3D%22en-US%22%3ERe%3A%20OS%20image%20lifecycle%20-%20looking%20for%20how-to%20or%20best%20practice%20guide%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1277806%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F33043%22%20target%3D%22_blank%22%3E%40Robert%20K%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20always%20create%20an%20azure%20vm%20and%20use%20it%20as%20Image-Source%20when%20creating%20Hosts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehere%20you%20can%20find%20an%20arm-template%20to%20update%20existing%20hostpool%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmaster%2Fwvd-templates%2FUpdate%2520existing%2520WVD%2520host%2520pool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmaster%2Fwvd-templates%2FUpdate%2520existing%2520WVD%2520host%2520pool%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyour%20service%20principal%20or%20wvdtenant-admin%20need%20permissions%20in%20azure%20to%20be%20able%20to%20deallocate%20or%20to%20delete%20hosts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Erg%3C%2FP%3E%3CP%3ETommy%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I have a question about the OS image lifecycle. I have read that you can and must customize the master image. For example to install and use another language. Or to provide one application for all. But how does that work exactly? Create an image, change it and use it as a template again. Do I have to download the image for this? Does it work online? And how do I roll out the modified image for everyone? If a user is logged on to the VM at the time of deployment, is he or she forced to log off? Do I always create new session hosts? If so, how do I remove the old ones correctly and completely?

1 Reply

Hi @Robert K,

 

I always create an azure vm and use it as Image-Source when creating Hosts.

 

here you can find an arm-template to update existing hostpool:

https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/Update%20existing%20WVD%20host%20po...

 

your service principal or wvdtenant-admin need permissions in azure to be able to deallocate or to delete hosts.

 

rg

Tommy