Comp 10
Comp 10
In this task, you create an Azure web app. Azure App Services is a Platform As a
Service (PAAS) solution for web, mobile, and other web-based applications. Azure
web apps is part Azure App Services hosting most runtime environments, such as PHP,
Java, and .NET. The app service plan that you select determines the web app
compute, storage, and features.
Select + Create, from drop-down menu, Web App. Notice the other choices.
On the Basics tab of the Create Web App blade, specify the following settings
(leave others with their default values):
Setting Value
Subscription your Azure subscription
Resource group az104-rg9 (If necessary, select Create new)
Web app name any globally unique name
Publish Code
Runtime stack PHP 8.2
Operating system Linux
Region East US
Pricing plans Premium V3 P1V3
Zone redundancy accept the defaults
Click Review + create, and then Create.
Note: Wait until the Web App is created before you proceed to the next task. This
should take about a minute.
Note: If the deployment fails, change to another region and try again. For example,
switch to East US 2.
On the blade of the newly deployed Web App, click the Default domain link to
display the default web page in a new browser tab.
Close the new browser tab and, back in the Azure portal, in the Deployment section
of the Web App blade, click Deployment slots.
Note: The Web App, at this point, has a single deployment slot labeled PRODUCTION.
Click Add slot, and add a new slot with the following settings:
Setting Value
Name staging
Clone settings from Do not clone settings
Select Add.
Back on the Deployment slots blade of the Web App, click the entry representing the
newly created staging slot.
Note: This will open the blade displaying the properties of the staging slot.
Review the staging slot blade and note that its URL differs from the one assigned
to the production slot.
In the staging slot, select Deployment Center and then select Settings.
Note: Make sure you are on the staging slot blade (instead than the production
slot).
In the Source drop-down list, select External Git. Notice the other choices.
Select Save.