Manage Azure Resources by Using ARM Templates
Manage Azure Resources by Using ARM Templates
Lab scenario
Now that you explored the basic Azure administration capabilities associated with
provisioning resources and organizing them based on resource groups by using the Azure
portal, you need to carry out the equivalent task by using Azure Resource Manager templates.
Note: An interactive lab simulation is available that allows you to click through this lab at
your own pace. You may find slight differences between the interactive simulation and the
hosted lab, but the core concepts and ideas being demonstrated are the same.
Objectives
In this lab, you will:
Architecture diagram
Instructions
Exercise 1
Note: Review the content of the template and note that you have the option
to Download it to the local computer, Add to library, or Deploy it again.
7. Click Download and save the compressed file containing the template and
parameters files to the Downloads folder on your lab computer.
9. Note the value of the location parameter. You will need it in the next task.
10. Extract the content of the downloaded file into the Downloads folder on your
lab computer.
1. In the Azure portal, search for and select Deploy a custom template.
2. On the Custom deployment blade, click Build your own template in the
editor.
3. On the Edit template blade, click Load file and upload the file F:\Allfiles\
Labs\03\az104-03b-md-template.json.
json
"sourceResourceId": {
"type": "String"
},
json
"hyperVGeneration": {
"defaultValue": "V1",
"type": "String"
},
Note: These parameters are removed since they are not applicable to the current
deployment. In particular, sourceResourceId, sourceUri, osType, and
hyperVGeneration parameters are applicable to creating an Azure disk from an
existing VHD file.
7. On the Edit parameters blade, click Load file and upload the file F:\Allfiles\
Labs\03\az104-03b-md-parameters.json, and Save the changes.
Setting Value
Sku Standard_LRS
Disk Size Gb 32
Disk Encryption
EncryptionAtRestWithPlatformKey
Set Type
Setting Value
Data Access
None
Auth Mode
Network Access
AllowAll
Policy
Public Network
Disabled
Access
Clean up resources
Note: Do not delete resources you deployed in this lab. You will reference them in the next
lab of this module.
Review
In this lab, you have:
Congratulations
You have successfully completed this lab. Click End to mark the lab as Complete.