Provisioning Resources with ARM Templates-Azure

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you will learn how to create a storage account using an ARM template. An ARM template is useful because you can deploy resources as many times as necessary. You can also reuse templates or modify them to include multiple resources in the same template.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log in to the Azure Portal.

Go to https://portal.azure.com and type in the credentials that you see in this lab.

Create a storage account and download the template for the storage account.
  1. Using Resource > Storage > Storage account, create a blob, file, table, and queue.
  2. Use the existing subscription and resource group.
  3. For the storage account name, enter <your name>storage and today’s date in <MMDDYYYY> (i.e.,garymclearystorage10312019).
  4. Leave everything else at the default.
  5. Click Review and Create.
  6. On the next page, do not click Create, click Download a template for automation instead.
  7. Click Download.
Edit and deploy the template.
  1. Unzip the zipped folder and save template.json to your local computer.
  2. Go back into the portal in the Azure portal and select Create a resource.
  3. In Search the Marketplace, type the template deployment and then press ENTER.
  4. Select Template deployment then Create.
  5. Build your own template in the editor.
  6. Load the file and remove the storageAccountName parameter.
  7. Add one variable called storageAccountName.
  8. Select Save.
  9. Use the existing resource group.
  10. Select the location.
  11. For Account Type, enter Standard_LRS.
  12. For Kind, enter StorageV2.
  13. For Access Tier, enter Hot.
  14. For https Traffic Only, select True.
  15. For Minimum Tls Version: 1.3
  16. For Supports Https Traffic Only: True
  17. For Allow Blob Public Access: False
  18. Click on the checkbox Agree to the terms and conditions.
  19. Click Purchase.

Additional Resources

<b>Important Note for Task 1</b>

When creating the Storage Account enter one of the following values for "Minimum TLS Version": TLS1_0, TLS1_1, or TLS1_2

<b>Scenario</b> <p>You are tasked with creating multiple temporary storage accounts for a large corporation. You want to speed up the process for storage account creation because you see this is a task that you will be doing regularly. Going through the Wizard in the Azure Portal will be too time-consuming, so you need to come up with a solution that can standardize the process. You decide that you will create a template that will make the storage account creation a little more consistent and also speed up the process.

When going through this hands-on lab, remember that you are not creating the storage account in the Azure Portal, but that you will be downloading the template so you can modify it later.

To get started:

  1. Log in to the Azure Portal.<br>
  2. Go through the steps of creating a storage account through the portal, but do not click create. Download the template instead.
  3. Edit the downloaded template and deploy it.

What are Hands-on Labs

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!