Soru

Zorluk: KolayScale Azure App Service Web Apps

You host a web application on an Azure App Service Web App that currently runs on the Free (F1) App Service plan. You need to configure the web app to automatically scale out when the CPU utilization exceeds 80%80\%. In which order should you perform the configuration steps?

  1. 1Upgrade the App Service plan to the Standard (S1) pricing tier.
  2. 2Enable Custom autoscale in the Scale out (App Service plan) settings.
  3. 3Add a scale-out rule that increases the instance count when the CPU percentage exceeds 80%80\%.

Cevap

First, upgrade the App Service plan to the Standard (S1) pricing tier. Second, enable Custom autoscale in the Scale out settings of the App Service plan. Third, add a scale-out rule that increases the instance count when the CPU percentage exceeds 80%80\%.
The correct order requires upgrading the App Service plan to a tier that supports autoscale (Standard S1) before configuring the settings and adding the CPU-based scaling rule.

Adım Adım Çözüm

1
Upgrade the App Service plan to the Standard (S1) pricing tier.
The plan is moved to a tier that supports custom autoscale rules.
The Free (F1) tier does not support autoscale or manual scale-out; a minimum of Standard (S1) is required for metric-based autoscale.
2
Enable Custom autoscale in the Scale out (App Service plan) settings.
The custom autoscale policy editor becomes active, allowing rule configuration.
Autoscale must be enabled and set to custom before specific metric-based rules can be added.
3
Add a scale-out rule with the CPU percentage metric set to trigger an increase in the instance count when it exceeds 80%80\%.
The auto-scaling rule is applied and active.
Once the custom autoscale engine is active, the rule is defined to increase capacity based on the CPU workload.

Anahtar Kavram

Scaling Azure App Service Web Apps requires a compatible pricing tier (Standard or higher) to support Custom autoscale rules.
Bu soruyu puanla