Deploy templates in Azure Stack using the command line
Applies to: Azure Stack integrated systems and Azure Stack Development Kit
Use the command line to deploy Azure Resource Manager templates to the Azure Stack Development Kit. Azure Resource Manager templates deploy and provision all the resources for your application in a single, coordinated operation.
Before you begin
- Install and connect to Azure Stack with Azure CLI
- Download the files azuredeploy.json and azuredeploy.parameters.json from the create storage account example template.
Navigate to the folder where these files were downloaded and run the following command to deploy the template:
azure group create "cliRG" "local" –f azuredeploy.json –d "testDeploy" –e azuredeploy.parameters.json
This command deploys the template to the resource group cliRG in the Azure Stack POC’s default location.
Validate template deployment
To see this resource group and storage account, use the following commands:
azure group list azure storage account list