Azure Classroomnotes 27/Sep/2022

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
  • We have the done the above steps in the previous session
  • The Vm Image version is created
    Preview
  • Lets create a VMSS
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • IN the vm image we have application running on port 80
  • Now lets create a load balancer (Layer 4)
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • The public ip shown is public ip of load balancer. Now navigate to http://<publicip-lb>/info.php
    Preview

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