VMSS CREATION AND CONNECTING.
Tags: azure, vm, vmss
Published: 2024-06-27 02:03:54

## **A Blog On Creating Virtual Machine Scale Set ****

A Virtual Machine Scale Set(VMSS) is a service in Microsoft Azure that allows you to create and manage a group of load-balanced virtual  
machines(VMS). It enables you to scale out and in the number of VMS based on demand or a predefined schedule , ensuring high availability and reliability of application. Two types of scaling usually takes place which involves (1) Vertical Scaling (2) Horizontal Scaling.

**(1) Vertical Scaling ;**This type of scaling allows you to add more resources to an existing server to handle an increase in workload .That is why Vertical Scaling is often referred to as "scaling up". This can involve adding CPU, memory, storage , or network capacity to an existing virtual machine or physical server. Vertical Scaling has simpler architecture since there is only one server to manage. This often make deployment and management easier. The limitations of Vertical Scaling are there is limitations on how much you can scale on a single server and scaling up usually requires servers reboot or downtime which can impact availability.

**(2) Horizontal Scaling ;** This involves adding more VMS or removing VMS to accommodate the available workloads hence it is often called "scaling out or scaling in ". This method distributes the workload across multiple  servers, enhancing the system's ability to handle higher traffic of loads and providing redundancy. Use cases of horizontal scaling involves web applications, microservices, big data processing , content delivery network(CDNs)

## Steps and stages in setting up Microsoft Azure VMSS.

The following steps highlights the processes of setting up VMSS in Microsoft Azure Platform.

**(1) login Your Azure Porta ;*Login your Azure portal and click on create a "Resource Group" and name your resource group following the guidelines for nomenclature choose a region and click on create and review then create.

**(2) Search For Virtual Machine Scale Set(VMSS) On The Search Bar**; Search and click on create  a Virtual Machine Scale Set.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bkltpijznur062tronuy.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ww1vqq2czho8sd6955yi.png) 


**(3) Configure Your VMSS ;** Filled in your specification of the type of VMSS you want to create by completing the basics. In this blog, i choose autoscaling and it open up a window for me to configure my scaling conditions.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/syyf5pafrrpvactgeocz.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vws1hvp938n9o0vo595e.png)

**(4) Scale and Set VMMS Conditions ;** Give your scale condition a name and set your scaling specifications.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h2gnhjntmi79ninj69g2.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wahe5eb0rq3bsy7umf1e.png)

**(5) Save your conditions;** Click save.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/damz2a5q1a9tsq8vgwv7.png)

**(6) Screw back and fill in other configurations;** Fill in other configuration and choose Ubuntu and SSH port 22. 

**(7) Go Next To Networking;** Configure next work interface.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/glt7e4y30la3zemipead.png)

**(8) Create a new Load Balancer if you do not have an existing ;

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4s3j4evvk5vjq3mt9ry1.png)**

**(9) Create The Load Balancer;
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fcszpgp8otzczt0ed7p4.png)** 

**(10) Connect to your VMSS**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5ys7wmdc91g9qwzn4qmm.png)




**(1) Vertical Scaling ;**