Azure Classroomnotes 28/Feb/2023

VMSS

  • Lets create an image in Azure Compute Gallery

Create a VMSS with fixed scaling

  • VMSS can be used for fixed scaling where it tries to maintain the desired count
  • The following image describes the activity which we are supposed to perform
    Preview
  • Fixed count = 3
  • Health Probe
    • GET /info.php should get 200
    • Failed: when two consecutive health probes have gone bad
    • Succed: When atleast 3 consecutive health probes have good status.
  • Create a VMSS
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Now access http://publicip/info.php here public ip is ip address of load balancer
    Preview
    Preview
    Preview
  • Lets create a new http health probe
    Preview

Experiment with metrics

  • Create a VM with ubuntu
  • Login into vm with two terminals
  • Execute htop in one terminal
  • Install stress in other terminal sudo apt update and sudo apt install stress
  • execute the command stress --cpu 8 --timeout 10m -v

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