What is a Virtual Machine Scale Set (VMSS)?
A Virtual Machine Scale Set is a resource that allows you deploy and manage a set of identical Virtual Machines.
Virtual Machine Scale Set is a way to create many Virtual Machines with the same configuration.
A Virtual Machine Scale Set can scale up or down, in or out base on the need.
Some of the features you enjoy when you use Virtual Machine Scale Set are Load balancing, High availability and Auto-scaling.
WAYS TO CREATE VIRTUAL MACHINE SCALE SET
There are two ways in which Virtual Machine Scale Set can be created in Azure portal. Firstly, you can type Virtual Machine Scale Set to search bar of you select it (Virtual Machine Scale Set) and start creating. The second way to create a Virtual Machine Scale Set is by replicating an existing Virtual Machine.
In this article, we are going to learn how to create a Virtual Machine Scale Set by replicating an existing Virtual Machine.
Firstly, we are going to create an an Azure compute gallery.
How to create an Azure compute gallery
1.Type Azure compute gallery to the search bar of your Microsoft Azure portal and select Azure compute galleries
2.Click +create button
3.Select the Resource group your Virtual Machine was kept because the Azure compute gallery and your Virtual Machine must be in the same Resource group
4.Give the compute gallery a name. in this article, we are going to name it holigallery
5.Click Review + Create
6.Validation passed will be shown on your screen, then click create
7.Wait for your screen to display deployment is complete then click
Go to resource
8.Click Microsoft Azure at the left top corner of your screen to go back and open the VM we want to replicate
9.Click Capture and select image
10.Click the dropdown sign and select the gallery you want to put the image
11.For the Operating System state, we are choosing Specialized
Specialized: This means that a user does not need a password and username before the VM can be used.
Generalized: Password and username are needed to use the VM
12.Click create new to give a name to the new VM then click OK
13.Come to version details and give it a version number. Note: the version number must take this format 0.0.1 or 0.0.2 or 15.35.0 and so on
14.Click Review + create
15.Wait for it to show Validation passed then click create
16.Wait for the deployment to complete then click Go to resource
17.Click +create VMSS
18.Come t Scale set details and give your Virtual Machine Scale Set a name.
19.Select an Orchestration mode the Orchestration modes are Flexible and Uniform
Flexible: It is highly available with multiple and identical Virtual Machines.
Uniform: It is good for large scale stateless workloads. That is, it is designed to handle lots of simple independent work that don't need to keep track of anything.
In this article, we are going to select Flexible
20.Click Review + create
21.Wait till Validation passed is shown on your screen then click create
22.Wait for your deployment to complete and click Go to resource
23.Congratulations! your Virtual Machine Scale Set is ready























Top comments (0)