HOW TO CREATE VIRTUAL MACHINE SCALE SET
Olusegun Solomon
Posted on April 25, 2024
Azure virtual scale set is used for creating and managing a group of load balanced VMs.
Azure Virtual Machine Scale Sets provide the management capabilities for application that run across many VMs, automatic scaling of resources, and load balancing of traffic.
BENEFITS OF VM SCALE SET
1.Easy to create and manage multiple VMs.
2.Provides high availability and application resiliency.
3.Allows your application to automatically scale as resource
demand changes.
4.It makes it easier to work with large scale of virtual
machines.
HOW TO DEPLOY A VIRTUAL MACHINE SCALE SET.
a. Login to azure portal using the link below.
Click on create in the link page
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/quick-create-portal?source=recommendations#log-in-to-azure
b.In the Basics tab, under Project details, for resource group click create and add a suitable name for your resource group and virtual machine to be created
c.In Region, select a region that is close to your area or any suitable one of your choice
d.In Cloud computing, orchestration technologies integrate automated tasks and processes into a workflow to perform specific business functions.
There are two types of orchestration mode
- Flexible orchestration mode
- Uniform orchestration mode
Under Orchestration, ensure the Uniform option is selected for Orchestration mode.
e. Select autoscaling for scaling mode.
f.Select the number of instances that you want for your virtual machine.
NB; for uniform mode minimum is 2 and max is 20 while for flexible ochestration mode the minimum is 2 and maximum is 1000 or more
g. Select image based on your choice. In this example, we have chosen Ubuntu Server
h.Enter your desired username, and select which authentication type you prefer.If you select a Linux OS disk image, you can instead choose SSH public key.for this,a public key is selected
.
i.Select Nextleave spot page as default
j. Leave Disks page as default.click next
k.Leave networking as default and click next
l.In Load balancing options, select create.
In Select a load balancer, select and create
a. Give name to the load balancer.
b. Under type select public and internal. Leave port as 80 and then
click create.
m. Select Next *management *
for upgrade policy select automatic
click enable health monitoring and automatic repair
o. Select next Advanced
p. Select next Tags and click review and create
It will display validation passed.
r. You can check your virtual machines by
- Selecting go to resource
- Select instances. It will display the total number of instances that is running on your vm at the moment
Posted on April 25, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.