hands-on lab

Deploying And Monitoring Azure App Service Web Apps

Intermediate
2h
9,560
4.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

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

Lab Prerequisites

You should be familiar with:

  • General software development and DevOps principles

Updates

February 21st, 2023 - Migrated lab to workspace-based Application Insights

October 2nd, 2023 - Resolved deployment issue

July 17, 2023 - Updated the instructions and screenshots to reflect the latest UI

March 13th, 2023 - Updated VCF to use latest stack 

December 15th, 2022 - Updated instructions and screenshots due to .NET 3 being no longer supported

October 3rd, 2022 - Updated instructions and screenshots due to UI changes

January 31st, 2022 - Updated the instructions and screenshots to reflect the latest UI

July 9th, 2021 - Updated to create app insight as a separate resource in classic mode (thereby resolving an issue with Application Insights)

March 24th, 2021 - Updated to use .Net Core 3.1 (thereby resolving an issue with Application Insights)

December 24th, 2020 - Emphasize to choose Windows for the App Service Plan operating system

July 29th, 2020 - Updated the content to reflect the latest Azure Portal experience. Replaced the end of lab validation checks with checks after each relevant lab step.

April 10th, 2020 - Updated the instructions and screenshots due to the new Azure UI

October 3rd, 2019 - Updated instructions due to new Azure features

September 24th, 2019 - Updated the lab screenshots and instructions to follow Azure changes

June 3rd, 2019 - Updated App Service screenshots and instructions

April 23rd, 2019 - Updated App Service Plan screenshots to avoid inadvertently selecting the Marketplace App Service plan (preview) interface

December 14th, 2018 - Added a validation Lab Step to check the work you perform in the Lab

Environment before
Environment after
About the author
Avatar
Logan Rakai
Lead Content Developer - Labs
Students
213,508
Labs
222
Courses
9
Learning paths
56

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics
Lab steps
Logging in to the Microsoft Azure Portal
Creating an Azure App Service Plan
Creating a Web App in Azure
Creating a Staging Deployment Slot
Deploying a Web App Using Deployment Slots
Monitoring Azure Web Apps
Monitoring Application Performance With Application Insights