0
0
Azurecloud~30 mins

Creating a web app in Azure - Try It Yourself

Choose your learning style9 modes available
Creating a web app
📖 Scenario: You want to create a simple web app on Microsoft Azure to host your website. This project will guide you through creating the basic Azure resources needed for a web app.
🎯 Goal: Build an Azure web app by creating a resource group, an app service plan, and the web app itself using Azure CLI commands.
📋 What You'll Learn
Create a resource group named MyResourceGroup in the eastus region.
Create an app service plan named MyAppServicePlan in the resource group with FREE SKU.
Create a web app named MyUniqueWebApp123 in the app service plan and resource group.
💡 Why This Matters
🌍 Real World
Creating web apps on Azure is common for hosting websites and APIs in the cloud.
💼 Career
Cloud engineers and developers often create and manage web apps using Azure CLI or portal as part of their daily tasks.
Progress0 / 4 steps
1
Create the resource group
Use the Azure CLI command az group create to create a resource group named MyResourceGroup in the eastus region.
Azure
Need a hint?

The command az group create creates a resource group. Use --name to set the group name and --location to set the region.

2
Create the app service plan
Use the Azure CLI command az appservice plan create to create an app service plan named MyAppServicePlan in the resource group MyResourceGroup with the FREE SKU.
Azure
Need a hint?

The command az appservice plan create creates a plan. Use --name for the plan name, --resource-group for the group, and --sku for pricing tier.

3
Create the web app
Use the Azure CLI command az webapp create to create a web app named MyUniqueWebApp123 in the app service plan MyAppServicePlan and resource group MyResourceGroup.
Azure
Need a hint?

The command az webapp create creates the web app. Use --name for the app name, --plan for the service plan, and --resource-group for the group.

4
Verify the web app creation
Use the Azure CLI command az webapp show to verify that the web app MyUniqueWebApp123 exists in the resource group MyResourceGroup.
Azure
Need a hint?

The command az webapp show displays details about the web app. Use --name and --resource-group to specify the app.