Azure Classroomnotes 25/Sep/2022

Availability Options for Virtual Machines in Azure

  • Options:
    • Availability Set: This has
      • Fault Domain: represents rack on the Datacenter
      • Update Domain: represents combination of vms required to be running so that the updates dont impact your application.
    • Zone Based: This is applicable to the locations with zones. This will create redundant vms in different zones. As you can see in the below image we selected two zones & it creates two vms in two different zones with same configuration.
      Preview
      Preview
      Preview
      Preview

Availabilty Set Demo

  • While creating a vm choose the Availability Options => Availability Set and Create a New Availability Set
    Preview
    Preview
  • After Succesful Creation of VM, Navigate to the Availability Set
    Preview
  • Create one more vm and select the same availability set
    Preview

Azure Virtual Machine Scale Sets (VMSS)

  • Lets explore Virtual machine Scale sets by Performing
    • Fixed Scaling
    • Dynamic Scaling (Elasticity)
  • This falls under Horizontal Scaling

Fixed Scaling with VMSS

  • Steps to be followed
    • Create a VM Image in Azure Compute Gallery with phpinfo and stress.
    • Commands:
      sudo apt update
      sudo apt install apache2 stress -y
      sudo apt install php libapache2-mod-php php-mysql -y
      echo "<?php phpinfo(); ?>" > info.php
      sudo cp info.php /var/www/html/info.php
  • Steps to be continued in the next session.

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