Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 2.54 KB

monitoring-autoscale-common-scale-patterns.md

File metadata and controls

70 lines (48 loc) · 2.54 KB
title description author manager editor services documentationcenter ms.assetid ms.service ms.workload ms.tgt_pltfrm ms.devlang ms.topic ms.date ms.author
Overview of common autoscale patterns | Microsoft Docs
Learn some of the common patterns to auto scale your resource in Azure.
anirudhcavale
orenr
monitoring-and-diagnostics
monitoring-and-diagnostics
d37d3fda-8ef1-477c-a360-a855b418de84
monitoring-and-diagnostics
na
na
na
article
05/07/2017
ancav

Overview of common autoscale patterns

This article describes some of the common patterns to scale your resource in Azure.

Azure Monitor auto scale applies only to Virtual Machine Scale Sets (VMSS), cloud services, app service plans and app service environments.

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 based on CPU

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 on weekdays vs 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 differently on holidays

Scale based on custom metric

You have a web front end and a 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)

Scale based on custom metric