SOLVED

Gallery Image vs Blob Custom Image

%3CLINGO-SUB%20id%3D%22lingo-sub-1164017%22%20slang%3D%22en-US%22%3EGallery%20Image%20vs%20Blob%20Custom%20Image%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1164017%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20few%20fundamental%20points%20I'm%20unsure%20of%20and%20was%20hoping%20someone%20could%20help%20clear%20them%20up%20for%20me%2C%20I%20couldn't%20find%20an%20exact%20answer%20in%20the%20documentation.%20They're%20around%20the%20use%20of%20the%20Microsoft%20Gallery%20image%20vs%20using%20a%20custom%20image%20%2F%20VHD%20stored%20in%20a%20blob.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EWhat%20reasons%20(other%20than%20to%20install%20applications%20and%20change%20settings)%20in%20the%20image%20itself%2C%20would%20justify%20the%20use%20of%20a%20custom%20image%3F%20Greater%20control%20over%20installation%20of%20updates%3F%3C%2FLI%3E%3CLI%3EIf%20I%20use%20a%20custom%20image%2C%20and%20the%20WVD%20instances%20are%20built%20from%20this%20image%2C%20can%20those%20hosts%20make%20changes%20to%20the%20source%20image%3F%3C%2FLI%3E%3CLI%3EIf%20i%20use%20a%20custom%20image%2C%20logged%20into%20it%20via%20WVD%20and%20ran%20windows%20update%2C%20would%20this%20write%20back%20to%20the%20source%20VHD%20image%20in%20blob%20storage%3F%3C%2FLI%3E%3CLI%3EIf%20I%20use%20the%20Microsoft%20gallery%20image%2C%20is%20this%20read%20only%3F%20Do%20Microsoft%20keep%20this%20up%20to%20date%3F%20If%20they%20do%2C%20when%20are%20those%20updates%20applied%20to%20the%20image%20seen%20in%20the%20host%3F%20Is%20it%20live%2C%20or%20do%20the%20hosts%20need%20to%20be%20removed%20and%20rebuilt%20for%20this%20to%20take%20effect%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EMy%20understanding%20would%20be%20that%20it's%20kind%20of%20similar%20to%20a%20PVS%20streamed%20image.%20Hosts%20build%20using%20the%20'source'%20image%20and%20remain%20as%20they%20were%20when%20they%20were%20built%2C%20until%20the%20host%20is%20taken%20down%20(or%20destroyed)%20and%20a%20new%20one%20provisioned.%20When%20it%20is%20re%20provisioned%20it%20uses%20the%20VHD%20image%20as%20it%20is%20right%20now.%20The%20host%20pools%20have%20no%20write%20access%20to%20the%20underlying%20image%20(or%20they're%20just%20running%20from%20a%20copy%20of%20it%2C%20taken%20at%20the%20time%20of%20provisioning%3F)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20appreciated!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167001%22%20slang%3D%22en-US%22%3ERe%3A%20Gallery%20Image%20vs%20Blob%20Custom%20Image%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167001%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F373956%22%20target%3D%22_blank%22%3E%40cjitsolutions%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI've%20limited%20experience%2C%20but%20I'll%20try%20and%20answer%20as%20many%20of%20your%20points%20as%20possible%3A%3C%2FP%3E%3CP%3E1.%20Primarily%20the%20usage%20of%20a%20custom%20image%20is%20to%20aid%20in%20the%20configuration%20process.%26nbsp%3B%20As%20you%20say%20programs%2C%20registry%20tweaks%2C%20user%20language%2Finput%20options%2C%20required%20files%20and%20nay%20other%20tweaks%20can%20be%20performed%20upon%20one%20VM.%26nbsp%3B%20Then%20it's%20shut%20down%20and%20a%20%22Gold%22%20image%20is%20created.%26nbsp%3B%20You%20can%20then%20use%20this%20to%20create%2Fspawn%20your%20pool%20of%20Vms%20from%20as%20a%20base%20image.%26nbsp%3B%20It's%20particualry%20useful%20if%20you%20have%20a%20large%20WVD%20pool%20with%20many%20hosts.%26nbsp%3B%20As%20one%20might%20imagine%20once%20you%20get%20over%205%20or%20more%20VMs%20perfomring%20the%20required%20setup%20%22Tweaks%22%20can%20take%20a%20long%20time%2C%20with%20the%20possiblity%20of%20missing%20something%20along%20the%20way.%3C%2FP%3E%3CP%3E2.%20Any%20hosts%20built%20from%20a%20custom%20image%20are%20ONLY%20built%20from%20that%20image.%26nbsp%3B%20So%20their%20OS%20disk%20is%20formed%20of%20a%20COPY%20of%20the%20custom%20image.%26nbsp%3B%20No%20changes%20are%20made%20to%20the%20image%20in%20any%20way.%3C%2FP%3E%3CP%3E3.%20As%20stated%20before%2C%20the%20custom%20image%20is%20not%202logged%20into%22%2C%20it's%20better%20to%20think%20of%20it%20as%20the%20image%20used%20as%20a%20copy%20for%20each%20VMs%20OS%20disk.%26nbsp%3B%20If%20you%20need%20to%20update%20a%20custom%20iamge%20you%20would%20need%20to%20create%20a%20Vm%20using%20it%20as%20the%20image%2C%20then%20make%20your%20required%20changes%2C%20then%20create%20a%20new%20image%20from%20that%20VM%20to%20replace%20the%20older%20one.%3C%2FP%3E%3CP%3E4.%20The%20Microsoft%20gallery%20image%20is%20maintained%20by%20Microsoft%2C%20so%20in%20that%20sense%20is%20pure.%26nbsp%3B%20As%20for%20whether%20Microsoft%20keep%20it%20up%20to%20date%2C%20I'm%20unsure.%26nbsp%3B%20A%20quick%20Google%20produced%20no%20relevant%20results.%26nbsp%3B%20So%20I'll%20have%20to%20leave%20that%20to%20someone%20else%20to%20answer.%26nbsp%3B%20One%20would%20hope%20the%20gallery%20images%20are%20kept%20somehwat%20up%20to%20date.%26nbsp%3B%20I%20do%20know%20I've%20still%20had%20Windows%20updates%20to%20install%20when%20using%20a%20Microsoft%20Gallery%20image%2C%20so%20how%20up%20to%20date%20they%20are%20is%20debateable..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%20somewhat.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi All,

 

I have a few fundamental points I'm unsure of and was hoping someone could help clear them up for me, I couldn't find an exact answer in the documentation. They're around the use of the Microsoft Gallery image vs using a custom image / VHD stored in a blob.

 

  1. What reasons (other than to install applications and change settings) in the image itself, would justify the use of a custom image? Greater control over installation of updates?
  2. If I use a custom image, and the WVD instances are built from this image, can those hosts make changes to the source image?
  3. If i use a custom image, logged into it via WVD and ran windows update, would this write back to the source VHD image in blob storage?
  4. If I use the Microsoft gallery image, is this read only? Do Microsoft keep this up to date? If they do, when are those updates applied to the image seen in the host? Is it live, or do the hosts need to be removed and rebuilt for this to take effect?

My understanding would be that it's kind of similar to a PVS streamed image. Hosts build using the 'source' image and remain as they were when they were built, until the host is taken down (or destroyed) and a new one provisioned. When it is re provisioned it uses the VHD image as it is right now. The host pools have no write access to the underlying image (or they're just running from a copy of it, taken at the time of provisioning?)

 

Any help appreciated!

1 Reply
Highlighted
Solution

@cjitsolutions 

Hi,

I've limited experience, but I'll try and answer as many of your points as possible:

1. Primarily the usage of a custom image is to aid in the configuration process.  As you say programs, registry tweaks, user language/input options, required files and nay other tweaks can be performed upon one VM.  Then it's shut down and a "Gold" image is created.  You can then use this to create/spawn your pool of Vms from as a base image.  It's particualry useful if you have a large WVD pool with many hosts.  As one might imagine once you get over 5 or more VMs perfomring the required setup "Tweaks" can take a long time, with the possiblity of missing something along the way.

2. Any hosts built from a custom image are ONLY built from that image.  So their OS disk is formed of a COPY of the custom image.  No changes are made to the image in any way.

3. As stated before, the custom image is not 2logged into", it's better to think of it as the image used as a copy for each VMs OS disk.  If you need to update a custom iamge you would need to create a Vm using it as the image, then make your required changes, then create a new image from that VM to replace the older one.

4. The Microsoft gallery image is maintained by Microsoft, so in that sense is pure.  As for whether Microsoft keep it up to date, I'm unsure.  A quick Google produced no relevant results.  So I'll have to leave that to someone else to answer.  One would hope the gallery images are kept somehwat up to date.  I do know I've still had Windows updates to install when using a Microsoft Gallery image, so how up to date they are is debateable..

 

Hope this helps somewhat.