We're deploying VM's using a template in Azure.In the template the image used is from blob url stored as VHD. I have made some changes in the VHD and saved it as a new blob. Now, we want few people test this vhd. I've read about Azure compute gallery, but can't make out how I can share this vhd. In AWS an private AMI can be shared by giving the account ID to share with. Is it possible to share via Azure compute gallery or is there some other means by which it can be shared.
How to share azure VHD across different subscription
To share VM images using the Compute Gallery, follow the steps below
Once you have created a Compute Gallery, create a VM image version by navigating to VM > Disk > Create VM image version. Follow the MS Docs for more details.
Create VM image version
Once you create a VM image version
with the definition, the definition will be added to your gallery as shown below.
To create a VM with the same configuration, open the definition, and you will have the option to create a VM with the same VHD.
To share the image definition with other users in a different subscription, you can assign roles as needed. Follow the MS Docs to learn more about compute gallery roles.
Note: To access the Compute Gallery, make sure that all subscriptions are part of the same tenant.
Once you assign the role to a user or group, only those with the assigned role will be able to access the Compute Gallery.