DEV Community

Cover image for Creating A Compute Gallery in Microsoft Azure.
John Essien
John Essien

Posted on

Creating A Compute Gallery in Microsoft Azure.

Hi guys!!! Ready to hit the gym and build some cloud muscle?? What is a compute gallery and how do we create one in Microsoft Azure? Let's find out in this week article.

What is an Azure compute gallery?
Azure compute gallery help you organize your custom managed images, Choose what you want to share, share images with users, and replicate images to multiple regions.

Roll up your sleeves and without further ado, lets begin!!


  • In the Azure portal, type Azure Compute Gallery in the search box and select Azure Compute Gallery in the results.
    Search select

  • In the Azure Compute Gallery page, select Add (+ Create)
    select +create

  • Select the resource group to which the VM is located. Select name and region. Select review and create
    Review and Create

  • Wait for it to deploy and go to resource to view the gallery.
    Deployment in progress

  • The gallery created
    Gallery created

Capture a VM in the portal

  • On the page for the VM, on the upper menu, select Capture.
    Select Capture

  • When saving an image, there are two Operating system state. select generalized or specialized. Generalized OS state requires username and password. Specialized OS state doesn't require username and password. Also, VMs created from specialized images don't have an OS profile associated with them.

Image OS

  • Select an image definition or select create new and provide a name and information for a new Image definition.
    Image definition name

  • Enter an image version number. Select an End of life date. This date can be used to track when older images need to be retired. Take all other default settings
    Image end of life

  • Review + create. After validation passes, select Create to create the image. Notice too that once the image has been successfully created the virtual machine would be stopped automatically.

Validation passed

  • Wait for the deployment
    Deployment wait

  • After deployment is complete, go to resource
    Go to resource

  • Notice you can use the captured image to create a vm and can create a vmss too

New Image


And just like that, we have created an Azure compute gallery. From having a large number of images that you need to maintain, and would like to make them available throughout your company to standardizing VM image configurations across your organization, ensuring consistency and reducing the risk of errors. The benefits of azure gallery cannot be overemphasized. There is a need to know how to create one. And what very detailed article shows you how??

Lets build some more muscles in the next article 💪🏼💪🏼💪🏼.

Like, comment and share!!!

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay