Azure Classroom notes 24/Nov/2023

Generation I vs Generation II vms

  • Generation I is older version of VMS
  • Generation II supports new generation with feature support such as
    • larger vm sizes
    • uefi and vTPM (Secured Boot) (Trusted => OS Secured)
    • Resizing Disks on the fly
    • Faster OS boot times

VM Image Creation

  • Azure VM Images are of two types
    • Generalized:
      • These images allows to set credentials while creating virtual machine
    • Specialized:
      • These image have a built in user and will not allow you to set credentials during creation.
  • Azure VM Images can be hosted by two ways
    • Managed Image
    • Azure Compute Gallery (Supports versioning)

Lets create our first vm image

  • Create a ubuntu vm with apache with php installed
  • Create a resource group called as resuableimages
  • Navigate to the vm & then click on capture button

  • Lets create a gallery called as learning

  • Every VM Image in Azure is identified by 4 parameters
    • publisher: referes to an organization publishing images
    • offer: This is the offering from the organization
    • sku: This is store keep unit
    • version: version of the release
  • Now lets create a vm definition with our details in publisher, offer and sku

  • VM Image creation happens in 3 steps
    • stop the vm
    • Generalize the vm (Remove user credentials)
    • Create a snapshot of disk with additional metadata to create a vm image


Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency
Exit mobile version
%%footer%%