Vertical Auto scaling of Azure VM

Rakesh Kumar 456 Reputation points

Hi All,

we have an requirement to do the auto scaling for two Azure VM( one App and another SQL). Customer wants to get the resizing done once CPU or RAM utilization of VM reaches the 70%. like if a VM size is Standard_F2s_v2 and CPU or RAM utilization is more than or equal to 70% then automatically its size gets changed to Standard_F4s/Standard_F8 etc and once utilization gets down to 40% then VM size should get reduced like Standard_F8 => Standard_F4s => Standard_F2s_v2.

Any support on this will be highly appreciated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,370 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sreeju Nair 12,026 Reputation points

    Thank you for asking your question in Microsoft Q & A.

    There are many challenges in vertical auto scaling such as the larger hardware needs to be available, it might require restarting. Due to these constraints, Autoscale does not support vertical scaling.


    However, you can automate vertical scaling with the help of Azure automation, where you create runbooks that can automatically resize VMs based on specific conditions, or use Azure Logic Apps.

    Hope this helps

    0 comments No comments

  2. Marcin Policht 15,460 Reputation points MVP

    Use a combination of Azure Automation and Azure Monitor.

    Details at

    Keep in mind that vertical scaling requires a VM restart, so this operation will involve downtime

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.



    0 comments No comments