DEV Community

Cover image for Writing Virtual Machine Scale Set
AGANA ADEBAYO .O .
AGANA ADEBAYO .O .

Posted on

Writing Virtual Machine Scale Set


INTRODUCTION

**VMSS (VIRTUAL MACHINE SCALE SET) **It is a feature in Azure that allows you to deploy and manage a group of identical virtual machines (VMs) as a single entity. VMSS is designed for high availability and scalability, making it ideal for applications that require automatic scaling based on demand.
Virtual Machine Scale Sets (VMSS) in Azure provide a service-level agreement (SLA) of up to 99.99 percent for your virtual machines (VMs). This SLA ensures that your VMs deployed within a VMSS will have a high level of availability and reliability.

The SLA guarantees that Microsoft Azure will deliver the specified level of uptime for your VM instances in a VMSS configuration. If Azure fails to meet the SLA, you may be eligible for service credits.

TABLE OF CONTENT

  1. INTRODUCTION.
  2. CREATING YOUR VMSS VIA AZURE PORTAL.
  3. AUTO SCALING CONFIGURATION.
  4. NETWORK SETTING.

CREATING YOUR VMSS VIA AZURE PORTAL
YOUR SUBSCRIPTION, RESOURCE GROUP AND NAME ARE START U ESSENTIALS IN CREATING YOUR VMs AND VMSS, SUBSCRIPTION NAMES MOST OMES AS DEFAULT WHILE OTHERS CAN BE NAMED ACCORDING TO THE NEED OR ADMINISTRATORS OR AS JOB DEMANDS.

Image description

Image description

AUTO SCALING MUST BE CONFIGURED AND ADDING SCALING CONDITIONS BASED ON CPU METRIX,

Image description

Image description

Image description

Image description

Image description

Image description

THE FINAL SET UP ON YOUR BASIC PAGE IS TO SELECT YOUR SSH PUBLIC KEY AND AND CREATING YOUR KEY PAIR NAME, SETTINGS ON THE SPOT PAGE.

Image description

Image description

Image description

Image description.

NETWORK SETTING

A NETWORK INTERFACE ALLOWS AZURE VIRTUAL MACHINE TO COMMUNICATE WITH THE INTERNET AND CO-PREMISES RESOURCES, A VM CAN HAVE ONE OR MORE RESOURCES.
CLICK ON THE NETWORK NAME AND SELECT LOAD BALANCER.

Image description

Image description

Image description

Image description

Image description

CLICK ON CREATE AND REVIEW TO DEPLOY CREATED RESOURCES AND AFTER FULLY DEPLOYING , GENERATE YOUR NEW PAIR KEY BY DOWNLOADING PRIVATE KEY AND CREATE RESOURCE.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

N.B

AVAILABILITY IN ZONES CAN AFFECT RATES AND SPECIFICATION SELECTION, WHEN THERE IS A CHALLENGE IN DEPLOYING SUCH RESOURCES IT IS ADVISABLE TO CHANGE OR OPT FOR AN ALTERNATIVE ZONE, THOUGH HIGHER RATES MAY APPLY.

Image description

Image description

DEPLOYED RESOURCES CAN BE CHECKED ON LINUX FOR STRESS CHECK AND FURTHER DEPLOYMENT.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

THE FOLLOWING STEPS WILL TAKE YOU THROUGH WINDOWS RESIZING OF DEPLOYED RESOURCES, FOR IMMEDIATE ACTION FOR THE PURPOSE OF LEARNING.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description
Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description
Image description

Image description

SUMMARY

VMSS (Virtual Machine Scale Sets) in Azure is a powerful feature that allows for automatic scaling of virtual machine instances based on demand. By leveraging VMSS, you can ensure that your applications have a reliable and highly available infrastructure to meet your business needs. It provides resiliency against hardware failures and planned maintenance events, distributing VM instances across fault domains and update domains, VMSS is a valuable tool for achieving scalability and reliability in Azure.

Top comments (0)