Azure Classroom Series – 12/Aug/2020

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 Preview
  • Shared Image Gallery view Preview
  • 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 Preview
  • Lets create a Shared Image Gallery (All Services => Shared Image Gallery) Preview Preview Preview Preview Preview Preview Preview
  • Now to proceed we need some vm image. Lets create a basic vm image , Navigate to VM Overview Preview Preview
  • Wait till vm image is created and navigate to image definition and click on create new image version Preview Preview Preview Preview Preview

Next Steps

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin