Skip to content

Instantly share code, notes, and snippets.

@weeyin83
Last active January 17, 2020 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weeyin83/4d878894dcee106ea018bfecddb86975 to your computer and use it in GitHub Desktop.
Save weeyin83/4d878894dcee106ea018bfecddb86975 to your computer and use it in GitHub Desktop.
Create an Azure Resource Group, create a free App Service Plan and create a Web App.
#Create a Resource Group called "rg-smoketest" within the East US region
az group create --name rg-smoketest --location "East US" --tags 'Usage=Test'
#Create an Azure App Service Plan called SmokeTestASP within the rg-smoketest Resource Group and use the Free tier
az appservice plan create --name SmokeTestASP --resource-group rg-smoketest --sku FREE --tags 'Usage=Test'
#Create an Azure Web App called smoke-test app within the rg-smoketest resource group and attach it to the SmokeTestASP plan
az webapp create --name smoketest-web --resource-group rg-smoketest --plan SmokeTestASP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment