Overview of common autoscale patterns
This article describes some of the common patterns to scale your resource in Azure.
Azure Monitor autoscale applies only to Virtual Machine Scale Sets, Cloud Services, App Service - Web Apps, and API Management services.
Lets get started
This article assumes that you are familiar with auto scale. You can get started here to scale your resource. The following are some of the common scale patterns.
Scale based on CPU
You have a web app (/VMSS/cloud service role) and
- You want to scale out/scale in based on CPU.
- Additionally, you want to ensure there is a minimum number of instances.
- Also, you want to ensure that you set a maximum limit to the number of instances you can scale to.
Scale differently on weekdays vs weekends
You have a web app (/VMSS/cloud service role) and
- You want 3 instances by default (on weekdays)
- You don't expect traffic on weekends and hence you want to scale down to 1 instance on weekends.
Scale differently during holidays
You have a web app (/VMSS/cloud service role) and
- You want to scale up/down based on CPU usage by default
- However, during holiday season (or specific days that are important for your business) you want to override the defaults and have more capacity at your disposal.
Scale based on custom metric
You have a web front end and an API tier that communicates with the backend.
- You want to scale the API tier based on custom events in the front end (example: You want to scale your checkout process based on the number of items in the shopping cart)
Feedback
Submit and view feedback for