Azure Classroomnotes 12/Jul/2023

Azure Virtual Machine Images

  • Why vm becomes unusable after vm image creation?
    • As user specific information is removed before vm image creation
      Preview
  • Azure Images are of two types

    • Managed Image
      • snapshot of disk
      • meta data name, region, creation information
    • Compute Gallery: This was designed to have versions for the image, allow copying to multiple regions if required.
  • Azure VM Image: Generally Azure VM Has the following attributes

    • Publisher: Who is publishing the image (user/organization)
    • Offer: This speaks about the vm image (ubuntu server/centos/redhat/Window Server)
    • SKU: This is category in the offer (ubuntu 16.04, redhat 7, centos 8)
    • Version: Specific build information (latest)
  • Azure VM image urn is expressed as <publisher>:<offer>:<sku>:<version>
  • Lets create a compute Gallery
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Now create a php info vm and capture the image into image defintion created above
    Preview
  • Create a vm from image and cross check the application

Exercise

  • Create a compute gallery
  • Create an image defintion
    • publisher => you
    • offer => learning
    • sku => php-info-ubuntu (php-info-redhat)
  • Now create two vms one ubuntu and one redhat. install php-info
    • Capture the images in respective sku’s
  • From any one image create a vm and install java `sudo apt install openjdk-11-jdk -y’ and create a new version

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube