mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-08 18:07:04 +00:00
Update LAB_09a-Implement_Web_Apps.md
This commit is contained in:
parent
a1500e3141
commit
3f2d46b819
@ -48,10 +48,9 @@ In this task, you will create an Azure web app.
|
|||||||
| Operating system | **Windows** |
|
| Operating system | **Windows** |
|
||||||
| Region | the name of an Azure region where you can provision Azure web apps |
|
| Region | the name of an Azure region where you can provision Azure web apps |
|
||||||
| App service plan | accept the default configuration |
|
| App service plan | accept the default configuration |
|
||||||
|
|
||||||
|
|
||||||
1. Click **Next : Monitoring >**, on the **Monitoring** tab of the **Web App** blade, set the **Enable Application Insights** switch to **No**, click **Review + create**, and then click **Create**.
|
1. Click **Next : Monitoring >**, on the **Monitoring** tab of the **Web App** blade, verify that the **Enable Application Insights** is set to **Yes**, click **Review + create**, and then click **Create**.
|
||||||
|
|
||||||
>**Note**: Typically, you would want to enable **Application Insights**, however, its functionality is not used in this lab.
|
|
||||||
|
|
||||||
>**Note**: Wait until the web app is created before you proceed to the next task. This should take about a minute.
|
>**Note**: Wait until the web app is created before you proceed to the next task. This should take about a minute.
|
||||||
|
|
||||||
@ -170,15 +169,8 @@ In this task, you will swap the staging slot with the production slot
|
|||||||
|
|
||||||
#### Task 6: Configure and test autoscaling of the Azure web app
|
#### Task 6: Configure and test autoscaling of the Azure web app
|
||||||
|
|
||||||
|
|
||||||
In this task, you will configure and test autoscaling of Azure web app.
|
In this task, you will configure and test autoscaling of Azure web app.
|
||||||
|
|
||||||
1. First, you will need to confirm that Microsoft.Insights is registered on your subscription for this lab. You may run the following command to register this command:
|
|
||||||
|
|
||||||
```pwsh
|
|
||||||
Register-AzResourceProvider -ProviderNamespace 'Microsoft.Insights'
|
|
||||||
```
|
|
||||||
|
|
||||||
1. On the blade displaying the production slot of the web app, in the **Settings** section, click **Scale out (App Service plan)**.
|
1. On the blade displaying the production slot of the web app, in the **Settings** section, click **Scale out (App Service plan)**.
|
||||||
|
|
||||||
1. Click **Custom autoscale**.
|
1. Click **Custom autoscale**.
|
||||||
@ -204,8 +196,6 @@ In this task, you will configure and test autoscaling of Azure web app.
|
|||||||
| 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**: Obviously 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):
|
||||||
|
|
||||||
@ -217,8 +207,6 @@ In this task, you will configure and test autoscaling of Azure web app.
|
|||||||
|
|
||||||
1. Click **Save**.
|
1. Click **Save**.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1. In the Azure portal, open the **Azure Cloud Shell** by clicking on the icon in the top right of the Azure Portal.
|
1. In the Azure portal, open the **Azure Cloud Shell** by clicking on the icon in the top right of the Azure Portal.
|
||||||
|
|
||||||
1. If prompted to select either **Bash** or **PowerShell**, select **PowerShell**.
|
1. If prompted to select either **Bash** or **PowerShell**, select **PowerShell**.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user