Deploying And Monitoring Azure App Service Web Apps


12 students completed the lab in ~1h:3m

Total available time: 1h:45m

Be the first to rate this lab!

Lab Overview

Azure App Service is a fully-managed platform as a service (PaaS) for building, deploying, and scaling web, mobile, API, and even serverless apps. In this Lab, you will learn all about App Service by deploying an ASP.NET Core app to Azure App Service Web Apps. You will also use a variety of services to monitor the app, including the Application Performance Management service called Application Insights. You will finish the Lab by configuring an alert when certain conditions are met in the monitoring data.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Explain and create App Service plans and App Services
  • Understand the available App Service Web Apps deployment options
  • Use deployment slots for zero-downtime deployments
  • Monitor Web Apps using metrics, logs, and Application Insights
  • Configure alerts to notify you when certain conditions are met

Lab Prerequisites

You should be familiar with:

  • General software development and DevOps principles

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:

Follow these steps to learn by building helpful cloud resources

Logging into the Microsoft Azure portal

Begin the Lab by logging into the Microsoft Azure portal

Creating an Azure App Service Plan

Create an App Service Plan to house Web, Function, and API Apps.

Creating a Web App in Azure

Create a web app using the Azure Portal

Creating a Staging Deployment Slot

Create a new deployment slot to stage new releases of applications

Deploying a Web App Using Deployment Slots

Deploy a new release using a Zip file and swap the staging slot into production for a warm start

Monitoring Azure Web Apps

Learn about the Web App monitoring options available in the Azure Portal

Monitoring Application Performance With Application Insights

Get application-level performance monitoring with Application Insights

Creating an Azure Web App Alert

Create an alert to automatically notify you of metric changes in your Web App