Autoscaling in Microsoft Azure

*Autoscaling in Microsoft Azure :-


https://itinfosoft.blogspot.com/




1.  Auto scale allows you to have the right amount of resources running to handle the load on your applications.

2. It allows you to add resources to handle increases in load and also save money by removing resources that are sitting idle.

3. You Specify  a Min. or Max. No. of instances to run and add or remove VM’s automatically based on a set of rules.

4.  Having a Min. make sure your applications is always running even under no load.

     

      Min  = 2 vm’s 

      Max = 5 vm’s



Scaling: —   1. Horizontal.

                      2. Vertical.


1.  Horizontal means increase or decrease No. Of  vm’s according to situation.


2.  Vertical Scaling keeps the same No. of vm’s but make the VM more or less Powerful. Power in terms of Memory, CPU Speed & Disk space.


— require VM’s to stop and Restart.




Azure VM AutoScaling Lab :-


  1. Go to Azure Portal.


Step1. Go to All Services.

— Compute 

— Virtual Machine Scale Set.

— Add/Create virtual machine scale set.


Name        - O.S, Disk, Image - Server2019.

RG            - rg-us.

Location   - East-US.

Username -

Password  -


Instance Count      — 2     { 0  — 1000 }

Instance Size         — Standard DS1.

AutoScale              — Enable.


Min. No. Of VM  2

Max. No. Of VM = 10



Scale Out:

— CPU Threshold (%) = 85% 

  No. Of VM to Increase by -1


Scale In:

— CPU Threshold (%) =  - 25% 

  No. Of VM to Decrease by -1


Choose VNet:

— Public IP Address per instance = ON




https://itinfosoft.blogspot.com/











Previous
Next Post »