Steps to create Web App
- Open Azure Portal from Top click Azure Cloud Shell :
- It will open the bash shell where we can be able to run CLI Commands.
Note : if your opening cloud shell first time it will ask you to create storage account.
- Now run the below command to clone the sample app repository
git clone github.com/Azure-Samples/html-docs-hello-wo..
- Go to that directory from cd command
cd html-docs-hello-world
- Create a web app with the below command :
az webapp up --location westus --name maniwebappdemo --html
- Now let’s check whether webapp is up and running or not from below url.
maniwebappdemo.azurewebsites.net
Now we can see webapp is up and running. Now we have to delete the app so that we don’t get cost any more use the below command to do that.
az group delete --name [resource_group_name]