DEV Community

Cover image for Creating Virtual Machine Scale Set Using Azure Portal
Romanus Onyekwere
Romanus Onyekwere

Posted on

Creating Virtual Machine Scale Set Using Azure Portal

Table of Contents

       Introduction
Enter fullscreen mode Exit fullscreen mode

Step 1. Sign to Azure Account
Step 2. Create a Virtual Machine Scale Set

     Introduction
Enter fullscreen mode Exit fullscreen mode

Creating a Virtual Machine Scale Set (VMSS) in Azure involves several steps. A VMSS allows you to deploy and manage a set of identical, auto-scaling virtual machines. Here's a step-by-step guide to create a VMSS using the Azure portal:

Step 1 Sign to Azure Account
(a) Go to Azure Portal (portal.azure.com)
Image description
(b) Sign in with your Azure Credentials

Step 2 Create a Virtual Machine Scale Set
(a) At the search bar, type *Vmss and select Virtual Machine Scale Set *

Image description
(b) Click + Create to create Virtual Machine Scale Set

Image description

   (c) Fill in the required rows from **Project details** which include;
Enter fullscreen mode Exit fullscreen mode

Subscription; Choose your Azure Subscription.
Resource Group; Create a new name for the Resource Group. (vmss-RG)

(d) At the Scale set Details, make sure you put the Virtual Machine scale set Name (hagital-vmss).
Leave the region to (US) East us and Availability zone to None

Image description

(e) In the Orchestration ,set orchestration mood to 'uniform'

(f) In Scaling, set the scaling mood to ' Autoscaling

Image description

'
In scaling configuration, click configure to review all scaling options.

Image description
(g) Click on + add a scaling condition
Image description
Another window will open at the right side corner. Continue with the prompt captioned Add a scaling condition.
Leave the condition name to vmss-condition
Leave the scale mode to autoscaling.
Initial Instant count ........ 2
Instance limit
Minimum ....... 2
Maximum ....... 4

Image description
Scale out
CPU threshold less than ........ 50
Increase instant count .......... 1
Scale in
CPU threshold less than ......... 25
Decrease instant count .......... 1

Image description
Query duration
Minutes ............... 6
Schedule
Schedule type ......... Repeat specific days
Time zone ............. UTC+0100 West Central Africa
Schedule day .......... Monday, Wednesday, Friday
Save and you will get a Scaling Condition window
Image description
Scaling Condition
Click the Check box of both condition and vmss-condition
Predictive autoscaling
Click the Check box to enable forecast for predictive autoscaling

Image description
Diagnostic logs
Do not check the box
Scale in policy
You can use the dropdown and make your choice
Leave other things and Save

Image description

Top comments (0)