Azure Lab

ARM Template Overview: Create Networking Assets

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Scope

This lab will guide you through the process of understanding, linting, validating and executing an ARM template and its affiliated parameters file, using the Azure CLI 2.0. You will first inspect the template and its parameter file to understand what it will deploy; then fix technical problems with both the ARM template and the parameters file; execute the ARM template; then see the template's results in the portal.

Suggested Pre Requisites

There are multiple requirements for this lab. 

To complete this lab, you will need the following:

  • A full-feature Web browser such as Firefox, Chrome, Safari or Edge.
  • The Azure CLI version 2. This lab will mostly be conducted in the CLI. Instructions on how to install the CLI are at https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
  • A basic understanding of how JSON is structured.
  • A decent text editor capable of saving files in UTF-8. vi or vim should work fine for Linux. For Mac, consider TextWrangler. For Windows, consider Notepad++ or Sublime Text.

You will also need to download the following files:

The template file we will be working with is at:

https://azurelacalabfiles.blob.core.windows.net/70534/armtemplates/azuredeploy.json

The parameters file this lab uses is at:

https://azurelacalabfiles.blob.core.windows.net/70534/armtemplates/azuredeploy.parameters.json

This lab includes troubleshooting of ARM template errors, some of which are built in to the template. If you run into trouble and need an ARM template that is a 100 percent working version, which you can deploy without receiving any errors, download this file: https://azuredevlabscommon.blob.core.windows.net/70534/armtemplates/azuredeploy_correct.json

Overview

This lab will guide you through the process of understanding, linting, validating and executing an ARM template and its affiliated parameters file, using the Azure CLI 2.0. You will first inspect the template and its parameter file to understand what it will deploy; then fix technical problems with both the ARM template and the parameters file; execute the ARM template; then see the template's results in the portal.

Scenarios


  • Inspect and understand the components of the ARM template and its parameter file.

  • Lint the template and parameter files and correct a syntax error in the template.

  • Validate the deployment and correct a parameters error.

  • Deploy the template and inspect is results in the portal.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.