Azure Compute Gallery is a service provided by Microsoft Azure that allows users to manage, share, and deploy custom virtual machine (VM) images, applications, and other compute resources across an organization or with external users. Azure Compute Gallery simplifies the management of compute resources by providing a scalable, organized way to handle custom images and applications in the Azure cloud ecosystem.
Key Features of Azure Compute Gallery:
Image Management: You can create, version, and store custom VM images (e.g., generalized or specialized images) tailored to your organization’s needs.
Sharing: Images and resources can be shared within your organization, across subscriptions, or even with external users via Azure role-based access control (RBAC) or public access options.
Versioning: Supports versioning of images, allowing you to update and manage multiple iterations of an image while maintaining backward compatibility.
Replication: You can replicate images across multiple Azure regions for low-latency access and high availability.
Integration: Works seamlessly with other Azure services like Azure Virtual Machines, Azure DevOps, and Azure Resource Manager (ARM) templates for automated deployments.
Application Support: Beyond VM images, it can store and manage application packages for use with VM scale sets or other compute resources.
Azure Compute Gallery can be use for the following purpose;
Standardized Deployments: _Ensure all teams use the same pre-configured VM images for development, testing, or production.
_Disaster Recovery: Replicate images across regions to support recovery strategies.
DevOps Pipelines: Integrate custom images into CI/CD (Continuous Integration/Continuous Deployment or Continuous Delivery) workflows for consistent environments.
Partner Sharing: Share images with external partners or customers securely.
NECCESSARY STEPS TO BE TAKEN
STEP 1: Create an Azure Compute Gallery
Search Compute gallery in the Azure portal and select Azure compute galleries.
STEP 2: Click on + create button.
STEP 3: create a new resource or select from anyone you previously created, give gallery a name and select a region. You can also add a Description (optional), Click Review and create.
After validation has been passed, click on the create button.
Click on Go to resource.
STEP 4: Capture the image of a VM and store in a Compute Gallery.
Go back to the VM created. Click on the Capture button and select Image from the drop-down.
Make sure the VM and the compute gallery are in the same resource group.
STEP 5: Select the Compute gallery created. When saving an image it can either be Generalized or Specialized
Generalized: VMs created from this image require hostname, admin user, and other VM related setup to be completed on first boot. What it means is that it requires username and password.
Specialized: VMs created from this image are completely configured and do not require parameters such as hostname and admin username and password.
STEP 6: In the Target VM image definition section, Create new and give the VM image a Name. click on Ok.
STEP 7: Give the VM image a Version number. Click on Review and create.
click on create button.
NOTE: Before an image will be created it will automatically stop a running virtual machine.
Wait till deployment is complete and click Go to resource.
We can use a captured image to create two things which are; virtual machine and virtual machine scale set.
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.