hands-on lab

Deploying a Webapp to Azure App Service Using Git Locally

Difficulty: Beginner
Duration: Up to 45 minutes
Students: 100
Rating: 5/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.

Description

Azure App Service allows you to deploy and build code from your preferred source and build provider. You can use Git to deploy your local application code to Azure App Service easily, without having to interact with the portal. Using local git deployment to deploy web apps to Azure App Service allow you to reap the benefits of Git as well as prepare to enable automated deployments in your organization.

In this lab, you will deploy a web app to Azure App Service from a git repository in a localized IDE.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Deploy local application code to Azure App Service using Git

Intended Audience

  • Cloud Engineers
  • Software Developers
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure App Service
  • Azure CLI
  • Git Workflow

The following content can be used to fulfill the prerequisite:

Updates

June 20th, 2023 - Resolved git push issue

May 2nd, 2023 - Updated theia to include autosave

March 20th, 2023 - Updated git push command

Covered topics

Lab steps

Logging into Azure using Azure CLI
Setting Webapp Prerequisites Using the Azure CLI
Deploying an Azure App Service Plan
Pushing Local Application Code to Azure App Service