Question:
Create an App Service web app MyAppService and its prerequisites. The service will be located in West US and must scale if usage is increased. Should be outimized for cost.
Answer:
Standard, Premium, PremiumV2, and PremiumV3 all support autoscale, but Standard is most cost effective in this scenario.
az group create --name MyResourceGroup --location "West US"
az appservice plan create --name MyAppServicePlan --resource-group MyResourceGroup --sku S1
az webapp create --name MyAppService --resource-group MyResourceGroup --plan MyAppServicePlan