How can I configure Auto-Scale based on Memory metrics?

DenisMcD 231 Reputation points
2020-05-07T09:01:33.283+00:00

How can I configure Auto-Scale based on Memory metrics?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question.] Source: FAQ

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
632 questions
0 comments No comments
{count} votes

Accepted answer
  1. vipullag-MSFT 23,946 Reputation points Microsoft Employee
    2020-05-07T09:55:01.89+00:00

    Auto-scale based on Memory metrics for a Cloud Services is not currently supported.

    To work around this problem, you can use Application Insights. Auto-Scale supports Application Insights as a Metrics Source and can scale the role instance count based on guest metric like ""Memory"". You have to configure Application Insights in your Cloud Service project package file (*.cspkg) and enable Azure Diagnostics extension on the service to implement this feat.

    For more details on how to utilize a custom metric via Application Insights to configure Auto-Scale on Cloud Services, see Get started with auto scale by custom metric in Azure.

    For more information on how to integrate Azure Diagnostics with Application Insights for Cloud Services, see Send Cloud Service, Virtual Machine, or Service Fabric diagnostic data to Application Insights.

    For more information about to enable Application Insights for Cloud Services, see Application Insights for Azure Cloud Services.

    For more information about how to enable Azure Diagnostics Logging for Cloud Services, see Set up diagnostics for Azure Cloud Services and virtual machines.

    Source : Azure Documentation FAQ


0 additional answers

Sort by: Most helpful