Task 2: Edit an Azure Resource Manager template and then redeploy the template
In this task, you use the downloaded template to deploy a new managed disk. This
task outlines how to quicky and easily repeat deployments.
In the Azure portal, search for and select Deploy a custom template.
On the Custom deployment blade, notice there is the ability to use a Quickstart
template. There are many built-in templates as shown in the drop-down menu.
Instead of using a Quickstart, select Build your own template in the editor.
On the Edit template blade, click Load file and upload the template.json file you
downloaded to the local disk.
Within the editor pane, make these changes.
Change disks_az104_disk1_name to disk_name (two places to change)
Change az104-disk1 to az104-disk2 (one place to change)
Notice this is a Standard disk. The location is eastus. The disk size is 32GB.
Save your changes.
Don’t forget the parameters file. Select Edit parameters, click Load file and
upload the parameters.json.
Make this change so it matches the template file.
Change disks_az104_disk1_name to disk_name (one place to change)
Save your changes.
Complete the custom deployment settings:
Setting Value
Subscription your subscription
Resource Group az104-rg3
Region (US) East US)
Disk_name az104-disk2
Select Review + Create and then select Create.
Select Go to resource. Verify az104-disk2 was created.
On the Overview blade, select the resource group, az104-rg3. You should now have
two disks.
In the Settings section, click Deployments.
Note: All deployments details are documented in the resource group. It is a good
practice to review the first few template-based deployments to ensure success prior
to using the templates for large-scale operations.
Select a deployment and review the content of the Input and Template blades.