Search This Blog

2020-09-09

LAB 09 - Implement Web Apps

 1. Create web app and enable application insight as "No"

2.    Create a Staging deployment Slot


3.    Configure web app deployment

Note : Make sure, we are under mrbpoc/Staging, not under mrbpoc. Below diagram is incorrect

Note : Make sure, we are under mrbpoc/Staging, not under mrbpoc. Below diagram is incorrect

Note : The URL need to be corrected as below

git remote add manabPoC12 https://mrbpoc-staging.scm.azurewebsites.net:443/mrbpoc.git


On the staging slot blade, click Overview and then click the URL link to display the default web page in a new browser tab.


4. Configure and test autoscaling of the Azure web app




TEST

$rgName = 'az104-09a-rg1'

$webapp = Get-AzWebApp -ResourceGroupName $rgName

while ($true) { Invoke-WebRequest -Uri $webapp.DefaultHostName }


Clean Up Resource

Get-AzResourceGroup -Name 'az104-09a*' | Remove-AzResourceGroup -Force -AsJob


No comments: