DEV Community

Cover image for VIRTUAL MACHIHE SCALE SET
Isaiah Izibili
Isaiah Izibili

Posted on

VIRTUAL MACHIHE SCALE SET

In today’s cloud-driven world, agility and scalability are key to staying ahead. Microsoft Azure’s Virtual Machine Scale Sets (VMSS) and Compute Gallery offer powerful tools to streamline deployment, optimize performance, and manage virtual machines at scale. VMSS enables automatic scaling of workloads across thousands of VMs, while Compute Gallery simplifies image management and distribution across regions. Together, they form a dynamic duo for building resilient, efficient, and cost-effective cloud infrastructure.

Key Steps in VM Scale Set

  1. Login to Azure portal

Login

  1. Create a resource group
  2. select virtual machine from the search bar

select virtual machine

  1. create a virtual machine

select the virtual machine

Note the virtual machine should be in the resource group that was created earlier

follow throu the instrucstion

Continue

Continue1

Review and create the vm

  1. create tags for Virtual machine for each department

tags

  1. Passed validation, then create

create

  1. GO to the virtual machine, select the public IP address

  1. Increase the Idle time to 30 minutes and save

idle time

  1. create a data disc and increase the storage type and size etc, after that we apply

create data dics

  1. connect to the VM that was created

connect to the vm

  1. open the RDP file input the password and lurch the VM

RDP

  1. This is the lurch VM

VM

  1. Then we need to format the hard disk of the new Virtual machine Click on disk2 and click on next to format it

disk

formated disk

  1. Go Back to Azure portal and search for Compute galleries and create it

compute gallaries

create compute gallaries

Choose your resource group, subscription, and name the compute gallery, review and create

select

  1. Return back to the virtual machine and select capture and capture image.

Image capture

  1. Select the resource Group and gallery that was created

Image gallary

  1. under operating system state choice specialize, assign the image definition name and save.

Image definition

  1. impute the version number and Review and create

create

  1. Go to Resources

Go to Resources

  1. Create (Create Virtual Machine Scale Set) VMSS

Create VMSS

  1. Ensure They are in the same region and resources group

Resources group

  1. Select image and instance count

Instance

  1. Review and create

  1. Go to Resource

Image resource

  1. We can increase the instance count from 2 to 30 or any number of our choice and save

Instance cout2

Image count3

  1. Go back to the virtual machine and see that 30 VM machine has been created

vm machine

Congratulations We have provisioned Virtual machine

Top comments (0)