How does VMSS predictive autoscaling works? I enabled it but no automatic scale out happed even after 15 days when predictive chart starts showing data

Pranshul G 40 Reputation points
2025-07-09T14:36:19.2833333+00:00

Hi Team,

Azure VMSS is unable to scale out automatic when predictive auto is enabled and Average Percentage CPU is much higher compared to value shown in Predictive chart.

How does it actually work, Do i need to set a static thershold after reviwing predicitve chart?

Thanks

User's image

User's image

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
{count} votes

Accepted answer
  1. Nikhil Duserla 8,515 Reputation points Microsoft External Staff Moderator
    2025-07-10T09:42:24.6533333+00:00

    Hello @Pranshul G,

    Thank you for your time on call. To enable predictive autoscale, create a scale out rule based on 'Percentage CPU' metric. Click here to go to the 'Configure' tab to set an autoscale rule.User's image

    This message means you attempted to enable predictive autoscale before you enabled standard autoscale and set it up to use the Percentage CPU metric with the Average aggregation type.

    Please follow this link for more detailed information- https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-predictive#didnt-enable-standard-autoscale

    If you have any further queries, do let us know.

    If you found this informative, please consider accepting an answer as a token of appreciation. And don't forget to give it a thumbs up 👍 if it was helpful.

    User's image

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Nikhil Duserla 8,515 Reputation points Microsoft External Staff Moderator
    2025-07-09T15:52:29.9866667+00:00

    Hello @Pranshul G,An Azure Virtual Machine Scale Set can increase or decrease the number of virtual machines that run your application. Instance count can be updated in several ways:

    • Manually increasing or decreasing scale set capacity
    • Based on a set schedule
    • According to rules based on metrics thresholds
    • Automatically based on usage patterns discovered by predictive artificial intelligence

    To set a static threshold for Azure VMSS predictive auto-scaling, navigate to the Scaling tab of your Virtual Machine Scale Set in the Azure portal. From there, you can configure manual scaling settings and adjust the thresholds according to your requirements-https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-portal#prerequisites

    Once the threshold value is configured and CPU utilization reaches that threshold, the instance will automatically scale out.

    If you have any further queries, do let us know.

    0 comments No comments

  2. Pranshul G 40 Reputation points
    2025-07-09T17:14:41.7966667+00:00

    Hi @Nikhil Duserla

    Yes, Following configuration enabled for Predictive Autoscale. It worked only when VM crossed Scale Out threshold but ideally new VM should have been trigered much before reaching the static scale out condition because Percentage CPU (AVG) was already much higher (but less than static value) as compared to predicted "Percentage CPU(avg)"

    1. Custom Autoscale
    2. Predictive autoscale = Enabled

    User's image


  3. Pranshul G 40 Reputation points
    2025-07-10T18:41:46.7466667+00:00

    To all community members for better clearity :

    Predictive auto scale doesn't scale out itself, it provides you Percentage CPU (avg) predictaion based on that you can configure your VM resources and set standard scale out rule.

    However, I am bit dissapointed why they named it as "predictive autoscale" when similar to this can be achieved via a simple reproting tool after analyzing few weeks data.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.