DEV Community

joseph4real
joseph4real

Posted on

How to Create Web app in Azure Using Azure cli

The blog post is about using Azure cli commands to create web application
a. Open powershell terminal and login using “az login”, you will be directed to a web browser to sign in. after that use the following commands to create:-
b. Create the resource group using the command below, after doing az login in your powershell: AppServiceRG
az group create --name AppServiceRG --location eastus.

Image description
c. Create an app plan using the command: appservicePlan
az appservice plan create --name appservicePlan --resource-group appServiceRG

Image description

d. Create a web app using this command: Project10WebApp
az webapp create --name Project10WebApp --resource-group AppServiceRG --plan AppServicePlan

Image description

e. Go to the azure portal to confirm that you have successfully created your resource group: AppServiceRG, web plan: AppServicePlan and the web app: Project10WebApp.

Image description

Under the app plan we can see CPU, Memory. Data in/out, region, instance size, scale count, SKU/Pricing tier this shows the app plan does the computing work of a VM.

Image description

Top comments (0)