This template intends to simplify resource creation experiences for web apps that use Cache to accelerate Database query performance. All resources are secured through Azure Network settings.
- Install Azure CLI: install
- Log in to Azure CLI from a Command Prompt
az login
- Select subscription to deploy the resources in
azure account set --s {YOUR_SUBSCRIPTION_ID}
- Create a resource group
az group create --name {YOUR_RESOURCEGROUP_NAME} --location {YOUR_RESOURCEGROUP_LOCATION. e.g. eastus}
-
Open azuredeploy.parameters.json. Edit the parameters. IMPORTANT: use the name of resource group you just created for "serverFarmResourceGroup" parameter
-
Go back to the Command Prompt where you logged in to Az CLI and selected subscriptions. Run the following command with your parameter. IMPORTANT: don't miss the '@' symbol in front of the paramter files for the command to work.
az deployment group create --name ExampleDeployment --resource-group {YOUR_RESOURCEGROUP_NAME} --template-file azuredeploy.json --parameters @azuredeploy.parameters.json