0
0
Azurecloud~10 mins

Creating a web app in Azure - Visual Walkthrough

Choose your learning style9 modes available
Process Flow - Creating a web app
Start
Choose App Name
Select Resource Group
Pick Runtime Stack
Set Region
Configure App Service Plan
Review & Create
Deployment
Web App Running
This flow shows the main steps to create a web app in Azure, from naming to deployment and running.
Execution Sample
Azure
az webapp create --resource-group MyResourceGroup --plan MyPlan --name MyWebApp --runtime "DOTNET|6.0" --location EastUS
This command creates a web app named MyWebApp in the specified resource group and plan using .NET 6 runtime in the EastUS region.
Process Table
StepActionInput/ParameterResult/State
1Choose App NameMyWebAppApp name set to MyWebApp
2Select Resource GroupMyResourceGroupResource group MyResourceGroup selected
3Pick Runtime StackDOTNET|6.0Runtime set to .NET 6.0
4Set RegionEastUSRegion set to EastUS
5Configure App Service PlanMyPlan (Standard S1)App Service Plan MyPlan configured
6Review & CreateConfirm settingsSettings validated
7DeploymentRun az webapp create commandWeb app MyWebApp created and deployed
8Web App RunningAccess URLWeb app is live and accessible
💡 Web app creation completes successfully and app is running.
Status Tracker
VariableStartAfter Step 1After Step 2After Step 3After Step 4After Step 5After Step 7Final
AppNamenullMyWebAppMyWebAppMyWebAppMyWebAppMyWebAppMyWebAppMyWebApp
ResourceGroupnullnullMyResourceGroupMyResourceGroupMyResourceGroupMyResourceGroupMyResourceGroupMyResourceGroup
RuntimenullnullnullDOTNET|6.0DOTNET|6.0DOTNET|6.0DOTNET|6.0DOTNET|6.0
RegionnullnullnullnullEastUSEastUSEastUSEastUS
AppServicePlannullnullnullnullnullMyPlan (Standard S1)MyPlan (Standard S1)MyPlan (Standard S1)
DeploymentStatusNot startedNot startedNot startedNot startedNot startedIn progressCompletedCompleted
Key Moments - 3 Insights
Why do we need to select a resource group before creating the web app?
The resource group organizes related resources together. In the execution_table row 2, selecting the resource group ensures the web app is created in the right container for management.
What happens if the app name is already taken?
The creation command will fail because app names must be unique globally. This is implied in step 7 where deployment happens; if the name is taken, deployment stops.
Why do we specify a runtime stack like DOTNET|6.0?
The runtime stack tells Azure what environment to prepare for your app code. In step 3, setting runtime ensures the app runs correctly on the chosen platform.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, what is the AppName variable after Step 3?
AMyWebApp
Bnull
CMyResourceGroup
DDOTNET|6.0
💡 Hint
Check variable_tracker row for AppName after Step 3 column.
At which step does the deployment of the web app start according to the execution_table?
AStep 5
BStep 6
CStep 7
DStep 8
💡 Hint
Look at the 'Action' column in execution_table for deployment start.
If the region was changed to WestEurope at Step 4, what would change in the variable_tracker?
AAppName would change to WestEurope
BRegion would be WestEurope after Step 4 and onwards
CResourceGroup would be WestEurope
DNo change in any variable
💡 Hint
Check the Region variable values across steps in variable_tracker.
Concept Snapshot
Creating a web app in Azure involves:
- Choosing a unique app name
- Selecting a resource group
- Picking a runtime stack (e.g., DOTNET|6.0)
- Setting the region
- Configuring an App Service Plan
- Deploying the app
The app runs live after deployment.
Full Transcript
To create a web app in Azure, you start by choosing a unique name for your app. Then, you select a resource group to organize your resources. Next, pick the runtime stack your app will use, such as .NET 6.0. After that, set the region where your app will be hosted. Configure the App Service Plan which defines the compute resources. Review all settings and run the deployment command. Once deployed, your web app is live and accessible. Each step updates variables like AppName, ResourceGroup, Runtime, Region, and DeploymentStatus as shown in the execution table and variable tracker.