This template creates an Azure Web App with Redis cache and a SQL Database.
This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.
Parameters
Parameter Name | Description |
---|---|
skuName | Describes plan's pricing tier and instance size. Check details at https://azure.microsoft.com/en-us/pricing/details/app-service/ |
skuCapacity | Describes plan's instance count |
administratorLogin | The admin user of the SQL Server |
administratorLoginPassword | The password of the admin user of the SQL Server |
databaseName | The name of the new database to create. |
collation | The database collation for governing the proper use of characters. |
edition | The type of database to create. |
maxSizeBytes | The maximum size, in bytes, for the database |
requestedServiceObjectiveName | Describes the performance level for Edition |
cacheSKUName | The pricing tier of the new Azure Redis Cache. |
cacheSKUFamily | The family for the sku. |
cacheSKUCapacity | The size of the new Azure Redis Cache instance. |
location | Location for all resources. |
Use the template
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstalling and configuring Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-web-app-redis-cache-sql-database/azuredeploy.json
Command line
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstalling and configuring the Azure cross-platform command-line interface
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-web-app-redis-cache-sql-database/azuredeploy.json