Enable Auto-Scaling for an App Service

Login to the Azure portal: https://portal.azure.com
Navigate to More Services from the left tile.
image001
In the search input section, type App Services and choose the same.
image002
Select the appropriate App Service from the list. [In this example, it is techsignapp].
image008
Under techsignapp options, navigate to Settings and select.
image009
Under Settings, navigate to Scale out (App Service Plan) and select.
image028
Select the Enable autoscale.
image034
In the Configure section, provide the Autoscale setting name and select Resource group.
image035
Under the default scale option,

  • Scale Mode: Scale based on a metric

image036

  • Rules:
      • By default, the rule will be available for CPU utilization percentage of 70%.

    image037

      • Incase to add another rule, choose + Add a rule.

    image038

  • Instance Limits:
    • Minimum: 1
    • Maximum: 4 [For this example, using maximum to 4 instances]
    • Default: 1

image039

In the scenario, to add auto-scaling on a schedule basis, click on + Add a scale condition.
image040
All the options are same as above section “Default Scale”. Only change is enabling the schedule either on Specific Start/end dates or Repeat Specific Days.
Specific Start/end dates : Provide the start and end dates for this auto-scaling function.
image041
Repeat Specific Days : Check the days and specify the time.
image042
Click on Save for commit the changes.
image031
Check the Notifications bar for the status.
image007

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s