mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-05 08:09:08 +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 |
|
||||
| --- |--- |
|
||||
| Metric source | **Current resource** |
|
||||
| Time aggregation | **Maximum** |
|
||||
| Metric namespace | **App Service plans standard metrics** |
|
||||
| Metric namespace | **standard metrics** |
|
||||
| Metric name | **CPU Percentage** |
|
||||
| Operator | **Greater than** |
|
||||
| Metric threshold to trigger scale action | **10** |
|
||||
| Duration (in minutes) | **1** |
|
||||
| Time grain statistic | **Maximum** |
|
||||
| Time aggregation | **Maximum** |
|
||||
| Operation | **Increase count by** |
|
||||
| Instance count | **1** |
|
||||
| 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):
|
||||
|
||||
@ -225,11 +225,11 @@ In this task, you will configure and test autoscaling of Azure web app.
|
||||
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.
|
||||
|
||||
>**Note**: You may need to **Refresh** the page.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user