How to Auto scale the VMSS based on File share file count.

VahindeGanesh-4593 0 Reputation points
2023-02-21T18:50:16.0833333+00:00

We have a requirement to auto scale the VMSS instances based on the file share file count.

the file count in Azure file share is getting to update whenever the user imports the file.

I need a solution or approach how achieve to autoscale the VMSS instances.

Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,091 questions
Azure AI Metrics Advisor
Azure AI Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
83 questions
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.
416 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 99,926 Reputation points
    2023-02-21T21:42:34.42+00:00

    Hi,

    Have you explored creating custom scaling rule based on metric and then selecting storage account -- files -- file count, etc., with the condition(s) and options for increasing/decreasing instances? I know the metric for file count is an option, however, I've never used it as a metric to scale VMSS.

    Under what specific circumstances/conditions do you want to scale out/in? If you explain in more detail it would be helpful to me to recommend a more specific approach. Otherwise what I can recommend is experimenting with the scaling in the portal with the metric(s) you are considering and then based on that ask additional questions in a comment.

    -TP


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.