mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-06 16:49:09 +00:00
Update LAB_09a-Implement_Web_Apps.md
This commit is contained in:
parent
c15adf98f6
commit
e352e9f0e2
@ -182,18 +182,18 @@ In this task, you will configure and test autoscaling of Azure web app.
|
|||||||
| Setting | Value |
|
| Setting | Value |
|
||||||
| --- |--- |
|
| --- |--- |
|
||||||
| Metric source | **Current resource** |
|
| Metric source | **Current resource** |
|
||||||
| Time aggregation | **Maximum** |
|
| Metric namespace | **standard metrics** |
|
||||||
| Metric namespace | **App Service plans standard metrics** |
|
|
||||||
| Metric name | **CPU Percentage** |
|
| Metric name | **CPU Percentage** |
|
||||||
| Operator | **Greater than** |
|
| Operator | **Greater than** |
|
||||||
| Metric threshold to trigger scale action | **10** |
|
| Metric threshold to trigger scale action | **10** |
|
||||||
| Duration (in minutes) | **1** |
|
| Duration (in minutes) | **1** |
|
||||||
| Time grain statistic | **Maximum** |
|
| Time grain statistic | **Maximum** |
|
||||||
|
| Time aggregation | **Maximum** |
|
||||||
| Operation | **Increase count by** |
|
| Operation | **Increase count by** |
|
||||||
| Instance count | **1** |
|
| Instance count | **1** |
|
||||||
| Cool down (minutes) | **5** |
|
| Cool down (minutes) | **5** |
|
||||||
|
|
||||||
>**Note**: Obviously these values do not represent a realistic configuration, since their purpose is to trigger autoscaling as soon as possible, without extended wait period.
|
>**Note**: These values do not represent a realistic configuration, since their purpose is to trigger autoscaling as soon as possible, without extended wait period.
|
||||||
|
|
||||||
1. Click **Add** and, back on the App Service plan scaling blade, specify the following settings (leave others with their default values):
|
1. Click **Add** and, back on the App Service plan scaling blade, specify the following settings (leave others with their default values):
|
||||||
|
|
||||||
@ -225,9 +225,9 @@ In this task, you will configure and test autoscaling of Azure web app.
|
|||||||
while ($true) { Invoke-WebRequest -Uri $webapp.DefaultHostName }
|
while ($true) { Invoke-WebRequest -Uri $webapp.DefaultHostName }
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Minimize the Cloud Shell pane (but do not close it) and, on the web app blade, in the **Monitoring** section, click **Process explorer**.
|
1. Minimize the Cloud Shell pane (but do not close it) and, on the web app blade, in the Settings section, click **Scale out (App Service plan)**.
|
||||||
|
|
||||||
>**Note**: Process explorer facilitates monitoring the number of instances and their resource utilization.
|
1. Select the **Run history** tab, and check the **Observed resource instance count**.
|
||||||
|
|
||||||
1. Monitor the utilization and the number of instances for a few minutes.
|
1. Monitor the utilization and the number of instances for a few minutes.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user