Shared Image Gallery
- It is a service that helps you build structure & organization around your images.
- It provides
- Global replication of images
- Versioning & group of Images for easier management
- Highly available images with ZRS
- Basic Process of image creation will be as shown below

- Shared Image Gallery view

- Image definitions are create within gallery & carry out information about vm image.
- Every Image definition will have three parameters used in combination – Publisher, Offer & SKU
- The other parameters that can be set in image definition are
- Operating System State: generalized or specialized
- Operating system: Linux or Windows
- Description:
- Privacy Statement & Release notes:
- End-of-life date
- Maximum & Minimum vCPU & memory recommendations
- Purchase plan information
Lets create a Linux VM Image
- Create a Linux VM & install lamp as mentioned over here
- Commands
sudo apt-get update
sudo apt-get install apache2 -y
sudo apt install php libapache2-mod-php php-mysql php-cli -y
sudo -i
echo "<?php phpinfo(); ?>" >> /var/www/html/info.php
sudo systemctl restart apache2
- Now navigate to
http://<publicip>/info.php
- Lets create a Shared Image Gallery (All Services => Shared Image Gallery)

- Now to proceed we need some vm image. Lets create a basic vm image , Navigate to VM Overview

- Wait till vm image is created and navigate to image definition and click on create new image version

Next Steps
- What happened when we used capture image
- What is generalized image & Specialized images
- High Availability of Azure VMs
