%3CLINGO-SUB%20id%3D%22lingo-sub-1469167%22%20slang%3D%22en-US%22%3ECreate%20formulas%20using%20shared%20image%20gallery%20images%20in%20DevTest%20Labs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1469167%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20now%20create%20a%20formula%20in%20DevTest%20Labs%20using%20a%20shared%20image%20gallery%20image.%20Formulas%20provide%20a%20dynamic%20way%20to%20create%20virtual%20machines%20from%20the%20desired%20configuration%2Fsettings.%26nbsp%3BFormulas%20are%20typically%20helpful%20in%20scenarios%20where%20your%20environment%26nbsp%3B%20changes%20on%20a%20regular%20basis%20and%20you%20cannot%20bake%20all%20components%20of%20your%20software%20into%20the%20image%20itself.%20For%20example%2C%20a%20build%20generated%20on%20a%20nightly%20basis%20that%20needs%20to%20be%20installed%20on%20every%20machine%20at%20fresh%20create.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESuch%20changes%20in%20the%20environment%20can%20be%20captured%20on%20the%20fly%20via%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDTL_Artifact%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eartifacts%3C%2FA%3E%20and%20are%20installed%20when%20the%20machine%20is%20created%20using%20the%20formula.%20For%20example%2C%20if%20you%20want%20a%20VM%20installed%20with%20the%20latest%20bits%20from%20your%20release%20pipeline%20or%20enlist%20the%20latest%20code%20from%20your%20repository%2C%20you%20can%20simply%20specify%20an%20artifact%20that%20deploys%20the%20latest%20bits%20or%20enlists%20the%20latest%20code%20in%20the%20formula%20together%20with%20a%20target%20base%20image.%20Whenever%20this%20formula%20is%20used%20to%20create%20virtual%20machines%2C%20the%20latest%20bits%2Fcode%20are%20deployed%2Fenlisted%20to%20the%20VM.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20this%20feature%2C%20alongside%20gallery%20images%20and%20lab%20custom%20images%2C%20you%20can%20also%20select%20a%20shared%20image%20gallery%20image%20as%20a%20base%20image%20to%20create%20a%20formula%20from.%26nbsp%3BLearn%20more%20about%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmanage_formulas%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Emanaging%20formulas%20in%20DevTest%20Labs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22select-base.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F199115i980FC9DCF3AE2A08%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22select-base.png%22%20alt%3D%22select-base.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ENow%20lets%20talk%20a%20little%20bit%20about%20shared%20image%20galleries.%20If%20you%20have%20a%20large%20number%20of%20managed%20images%20that%20you%20need%20to%20maintain%20and%20would%20like%20to%20make%20them%20available%20throughout%20your%20company%2C%20you%20can%20use%20a%20shared%20image%20gallery%20as%20a%20repository%20that%20makes%20it%20easy%20to%20update%20and%20share%20your%20images.%26nbsp%3B%3C%2FSPAN%3EThe%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fwindows%2Fshared-image-galleries%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EShared%20Image%20Gallery%3C%2FA%3E%20service%20takes%20care%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EManaging%20global%20replication%20of%20images%3C%2FLI%3E%0A%3CLI%3EVersioning%20and%20grouping%20of%20images%20for%20easier%20management%3C%2FLI%3E%0A%3CLI%3EMake%20your%20images%20highly%20available%20with%20Zone%20Redundant%20Storage%20(ZRS)%20accounts%20in%20regions%20that%20support%20availability%20zones.%20ZRS%20offers%20better%20resilience%20against%20zonal%20failures.%3C%2FLI%3E%0A%3CLI%3ESharing%20across%20subscriptions%2C%20and%20even%20between%20tenants%2C%20using%20role-based%20access%20control%20(RBAC).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EDevTest%20Labs%20supports%20integration%20with%20Shared%20image%20gallery%20to%20help%20you%20share%20IT%20approved%20custom%20images%20across%20multiple%20dev%20teams%20set%20up%20across%20multiple%20subscriptions.%20Simply%20attach%20an%20existing%20shared%20image%20gallery%20to%20your%20lab%20and%20whitelist%20specific%20images%20you%20would%20like%20to%20make%20available%20for%20your%20team.%20Learn%20more%20on%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDTL_sig%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Econfiguring%20a%20shared%20image%20gallery%20for%20a%20lab.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETry%20this%20feature%20today%20and%20let%20us%20know%20what%20you%20think.%20If%20you%20have%20an%20idea%2C%20submit%20your%20feedback%20(or%20vote%20for%20others)%20at%20the%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23003366%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E-ERR%3AREF-NOT-FOUND-Azure%20DevTest%20Labs%20feedback%20forum%3CSPAN%20style%3D%22color%3A%20%23003366%3B%22%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20black%3B%20background%3A%20white%3B%22%3EHave%20a%20question%3F%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232f2f2f%3B%20background%3A%20white%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E-ERR%3AREF-NOT-FOUND-%3CSPAN%20style%3D%22background%3A%20white%3B%22%3EPost%20it%20on%20our%20Azure%20DevTest%20Labs%20Forum%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1469167%22%20slang%3D%22en-US%22%3E%3CP%3EDevTest%20Labs%20now%20supports%20creating%20a%20formula%20from%20a%20shared%20image%20gallery%20image!%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1469167%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

You can now create a formula in DevTest Labs using a shared image gallery image. Formulas provide a dynamic way to create virtual machines from the desired configuration/settings. Formulas are typically helpful in scenarios where your environment  changes on a regular basis and you cannot bake all components of your software into the image itself. For example, a build generated on a nightly basis that needs to be installed on every machine at fresh create. 

 

Such changes in the environment can be captured on the fly via artifacts and are installed when the machine is created using the formula. For example, if you want a VM installed with the latest bits from your release pipeline or enlist the latest code from your repository, you can simply specify an artifact that deploys the latest bits or enlists the latest code in the formula together with a target base image. Whenever this formula is used to create virtual machines, the latest bits/code are deployed/enlisted to the VM.

 

With this feature, alongside gallery images and lab custom images, you can also select a shared image gallery image as a base image to create a formula from. Learn more about managing formulas in DevTest Labs

 

select-base.png

 

Now lets talk a little bit about shared image galleries. If you have a large number of managed images that you need to maintain and would like to make them available throughout your company, you can use a shared image gallery as a repository that makes it easy to update and share your images. The Shared Image Gallery service takes care of:

  • Managing global replication of images
  • Versioning and grouping of images for easier management
  • Make your images highly available with Zone Redundant Storage (ZRS) accounts in regions that support availability zones. ZRS offers better resilience against zonal failures.
  • Sharing across subscriptions, and even between tenants, using role-based access control (RBAC).

DevTest Labs supports integration with Shared image gallery to help you share IT approved custom images across multiple dev teams set up across multiple subscriptions. Simply attach an existing shared image gallery to your lab and whitelist specific images you would like to make available for your team. Learn more on configuring a shared image gallery for a lab.

 

Try this feature today and let us know what you think. If you have an idea, submit your feedback (or vote for others) at the Azure DevTest Labs feedback forum.

 

Have a question? Post it on our Azure DevTest Labs Forum