How to create Microsoft Azure Virtual Machine Scale Sets

Microsoft Azure virtual machine scale sets

Introduction

Azure virtual machine scale sets let you create and manage a group of load balanced VMs. The number of VM instances can automatically increase or decrease in response to demand or a defined schedule.

Step 1: First Login the Microsoft Azure Dashboard page.

Step 2: Open the Virtual machine scale set.

Step 3: Click New virtual machine and fill basic details for virtual machine details.

Step 4: Next select the Disk Details.

Step 5: Select Networking.

Step 6: Select Management.

Step 7: Select a health fill details.

Step 8: Select Advanced.

Step 9: Select tags

Step 10: Finally select Review create.

Step 11: After complete the deployment Go to instance.

Step 12: Next, Login to the Ubuntu Server by using public IP address.

Step 13: Run following command to create stress for CPU.

Step 14: Finally check the instance 90 % create new two virtual machine

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Microsoft Azure virtual machine scale sets. Your feedback is much welcome.

FAQ
Q
6) How might the capacity change if I increase it from 15 to 18?
A
If you increase capacity to 18, then 3 new VMs are created. Each time, the VM instance ID is incremented from the previous highest value (for example, 20, 21, and 22). VMs are balanced across fault domains.
Q
5) Which VMs will be removed if my scale set capacity is reduced from 20 to 15?
A
By default, virtual machines are removed from the scale set evenly across availability zones (if the scale set is deployed in zonal configuration) and fault domains, to maximize availability. VMs with the highest IDs are removed first.
You can change the order of virtual machine removal by specifying a scale-in policy for the scale set.
Q
4) How do I create a scale set by using a custom image?
A
Create and capture a VM image, and then use that as the source for your scale set.
Q
3) Which Azure regions support scale sets?
A
All regions support scale sets.
Q
2) Are data disks supported within scale sets?
A
Yes. A scale set can define the configuration of an attached data disk that applies to all VMs in the set. For more information, see Azure scale sets and attached data disks.
Azure Files (SMB shared drives)
Azure shared disks
Operating system drive
Temp drive (local, not backed by Azure Storage)
Azure data service (for example, Azure Table Storage or Azure Blob Storage)
External data service (for example, a remote database)