Create a Virtual Machine Scale Set in Azure

A virtual machine scale set allows us to deploy and manage a set of identical, auto-scaling virtual machines. We can scale the number of VMs in the scale set manually, or define rules to autoscale based on resource usage such as CPU, memory demand, or network traffic.

In Azure portal click new-type wmss

Set number of VM’s,instance size,public IP name,allocation methpd and domain name

We can also specify number of placement groups

Next, we need to set Virtual Machine scale set name,choose OS image and specify resource group

Specify maximum number of VM’s,scale out settings (if CPU usage exceeds 75 % a 1 machine will be added if it fails below 75 %, 1 will be removed

To make RDP to instance click on Load balancers-Inbound NAT rule to see port for connection