Getting Started with Azure Templates

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, we use the Azure Portal to examine the components that make up an Azure QuickStart virtual machine template to gain a better understanding of the JSON template file structure.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Access the Azure Portal

Launch the Azure Portal:

  1. Open an incognito or private browser.
  2. Launch the lab.
  3. Use the supplied username and password to connect.
Run the Windows Server 2016 Datacenter Quickstart Template
  1. Instead of going into the Marketplace, select Virtual Machines and Create, Virtual Machine.
  2. Choose "Windows Server 2016 Datacenter – Gen 1"
    1. Supply a virtual machine name.
    2. Supply a username and password.
    3. Complete the steps to finish the template.
    4. Download the template.
Questions: Identify the Azure Templates Components

Try to answer the following questions:

  • What is the schema and version?
  • How many parameters are there?
  • How many variables are there?
  • Where would one change the name of the virtual network?
  • How many resources make up a Windows 2016 quickstart VM?

Additional Resources

Next week, you have to deploy a new Windows Server 2016 virtual machine for a project. At a recent tech conference, your manager heard a talk about using Azure Templates because they offer both documentation of what you deploy along with the ability to redeploy as needed.

You have always deployed Azure virtual machines via the Azure Portal but your manager wants to see you provide an Azure Template for the team to review at tomorrows team meeting. You need to download the template to show at the meeting.

Note: Instead of going into the Marketplace, select Virtual Machines and Create, Virtual Machine. Choose "Windows Server 2016 Datacenter - Gen 1"

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.

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?