Here's what your new web app should look like: Replace with your unique app name created in the prior step. The URL of the Git remote is shown in the deploymentLocalGitUrl property, with the format Save this URL as you need it later.īrowse to your newly created web app. You've created an empty new web app, with git deployment enabled. Local git is configured with url of "Normal", When the web app has been created, the Azure CLI shows output similar to the following example: az webapp create -resource-group myResourceGroup -plan myAppServicePlan -name -runtime 'PHP|8.1' -deployment-local-git To see all supported runtimes, run az webapp list-runtimes. In the following example, replace with a globally unique app name (valid characters are a-z, 0-9, and -). In the Cloud Shell, create a web app in the myAppServicePlan App Service plan with the az webapp create command. "id": "/subscriptions/0000-0000/resourceGroups/myResourceGroup/providers/Microsoft.Web/serverfarms/myAppServicePlan", When the App Service plan has been created, the Azure CLI shows information similar to the following example: The following example creates an App Service plan named myAppServicePlan in the Free pricing tier: az appservice plan create -name myAppServicePlan -resource-group myResourceGroup -sku FREE -is-linux In the Cloud Shell, create an App Service plan with the az appservice plan create command. When the command finishes, a JSON output shows you the resource group properties. You generally create your resource group and the resources in a region near you. az group create -name myResourceGroup -location "West Europe" To see all supported locations for App Service in Free tier, run the az appservice list-locations -sku FREE command. The following example creates a resource group named myResourceGroup in the West Europe location. In the Cloud Shell, create a resource group with the az group create command. For example, you can choose to delete the entire resource group in one simple step later. Create a resource groupĪ resource group is a logical container into which Azure resources, such as web apps, databases, and storage accounts, are deployed and managed. Record your username and password to use to deploy your web apps. Details: 400 error, use a stronger password. The JSON output shows the password as null.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |