hands-on lab

Working with Virtual Machine Scale Set Scaling

Up to 45m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Azure Virtual Machines Scale Sets (VMSS) is an Infrastructure as a Service (IaaS) offering that allows you to create and manage a group of Virtual Machines (VM) behind a load balancer. Scale sets provide you the ability to increase and decrease the number of VMs based on the workload's requirement and user's demand. VMSS allows you to build large-scale infrastructure suitable for big data and compute.

VMSS scaling helps you to automate the scaling component of the infrastruture based on the workload needs and usage. The scale set can automatically increase and decrease the number of VMs within an instance to accomodate for the user's demand. This removes the overhead for the administration team to monitor and adjust the instance count manually.

In this hands-on lab, you will create a scaling rule for the Scale Set resource to scale the instance to handle the resource consumption.

Learning Objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Configuring VMSS Scaling Rule
  • Review Run history for log reference

Intended Audience

  • Candidates for Azure Administrator Exam (AZ-104)
  • Cloud Architects
  • DevOps Engineers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • Azure Virtual Machines Scale Set
  • Azure Storage Accounts

The following content can be used to fulfill the prerequisite:

Environment before

Environment after

About the author

Learning paths

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Creating Scaling Rule for Azure VMSS