Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Deploy Resources using an ARM Template in the Azure Portal

Azure Resource Manager (ARM) templates provide a powerful way to define Azure resources and configuration, by essentially using a text file. This helps with consistency and automation of resource deployments. In this hands-on lab, you will learn how to create a storage account using an ARM template and walk through modifying the template to see how parameters and variables work.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Apr 02, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Load the ARM Template Using the Azure Portal

    1. Download the ARM template to your computer or copy the template text from this link.
    2. Within the Azure portal, choose Create a resource and use the Template deployment (deploy using custom templates) option.
    3. Choose Build your own template in the editor and either paste the template text you copied or click Load file and select the labstoragetemplate.json file you downloaded previously.
  2. Challenge

    Modify the ARM Template Parameters and Variables

    1. Modify the ARM template as follows:
      • Add a parameter called storageAccountKind and modify the resource definition to use it.
      • Create a variable called uniqueStorageAccountName and use the storageAccountName parameter and a uniqueString function to provide the resource with a unique name.
      • Change the location of the storage account resource to be hard-coded as West US.
    2. Save the template.
  3. Challenge

    Deploy the ARM Template using the Parameters File

    1. Edit the parameters file as follows:
      • Set the storageAccountName to azurelab.
      • Set the storageAccountKind to StorageV2.
    2. Save the parameters.
    3. Deploy the ARM template to the existing subscription and resource group provided for this hands-on lab.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans