Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 2.51 KB

DevOpsLab3.md

File metadata and controls

55 lines (33 loc) · 2.51 KB

Lab 3: Create an Azure Web App

Azure Web Apps is an Azure service for hosting web applications. In this lab you'll create the Azure Web App into which you will later deploy the web application using Continuous Deployment.

  1. In a browser go to the Azure Portal at http://portal.azure.com.

  2. Select Create a resource and enter web app into the search field:

  1. Press enter and select Web App from the list:

  1. Click Create:

  1. Complete the highlighted fields as follows:
  • App name: Choose a unique name that will be the URL for the web application such as WebApp plus your initials

  • Subscription: If you have more than one subscription, ensure that you choose the correct one for this lab

  • Resource Group: Create a new resource group for your web app

  • OS: Set this to Windows (as we will deploy a .NET web app later).

  • App Service Plan/Location: Click on this to create a new App Service Plan. Complete these fields:

    • App Service plan: Enter a name, such as WebAppPlan
    • Location: Select an Azure region close to you
    • Pricing tier: Click on this, and select the F1 Free tier

  1. Click OK to save the App Service Plan.

  2. Click Create to save and create the Web App.

  3. After a short time (approx. 1-2 mins) you should see a notification that the Web App has been successfully created. You may want to pin the web app to your Azure dashboard for easy location later on:

  1. Confirm that your Web App is created by selecting Go to resource.

  2. Click on the URL:

  1. Your Web App should open in the browser and you will see something like this:

This confirms that you have created a Web App in Azure. In the next lab we will deploy the web application into the newly created Azure Web App.

Optional challenge: Add an Embedded Webpage widget to the Azure DevOps Overview dashboard:

  • Add the Embedded Webpage widget
  • Add the URL for your web app created in the preceding steps:

<- Lab 2: Continuous Integration | Home | Lab 4: Continuous Deployment ->