In the first two parts of this series, we connected to a Windows VM, added a data disk, and captured a reusable image with Azure Compute Gallery. Now, in Part 3, we’ll use that custom image to create a Virtual Machine Scale Set (VMSS), enabling scalable, load-balanced deployments to meet dynamic workload demands efficiently.
An important concept of VMSS is an Azure load balancer; it distributes incoming traffic to a pool of VMs or VM instances. It is always automatically configured in Azure VMSS.
Go over the other parts of the series before this:
Azure VM Scale Set #Part 1: How to Connect and Add a Data Disk to a Windows VM
Azure VM Scale Set #Part 2: How to Capture the image of a VM with Azure Compute Gallery
Let's dive into the VMSS setup!
Part 3: How to Create a Virtual Machine scale set in Azure
Give the VMSSS a Name
In orchestration mode, select Flexibile
Note: In flexibility mode, you manually create and add a VM of any configuration to the scale set. While in uniform mode, you define a VM model, and Azure will generate identical instances based on that model.Leave everything else as default
- Click Go to resource
- Go to Availability + scale section
- Select Scaling
- Set the Instance count to the number of VMs you want to Create
Conclution:
With this final step, you've successfully created a Virtual Machine Scale Set using a custom image from Azure Compute Gallery, building on the foundational tasks of connecting to a VM, adding a data disk, and capturing a reusable image. Your scalable, load-balanced infrastructure is now ready to handle dynamic workloads efficiently, completing the journey toward optimizing your Azure environment.
Thank you for reading my blog.😊😊
If you need further assistance, feel free to reach out in the comment or hit me up on Twitter. You can also follow me on GitHub. My DM's are open and love discussions on cloud topics!😁
Top comments (0)