Invalid Login Attempt

Lab: Introduction to Nested ARM Templates


In this lab, you learn how to author an Azure Resource Manager template that uses nested templates and dependencies to create an orchestrated deployment. In this example, you will deploy a Virtual Network, and then a virtual machine running Windows Server Active Directory which includes a DNS server. After the DNS service is deployed, you will update the virtual network to refer to its IP address for DNS connectivity. From there, you will deploy a client that is domain joined to validate that DNS has been updated in the correct order. 

  • Estimated time required to complete: 2 hours, 5 minutes
  • You will have access to this environment for 4 hours, 0 minutes
  • Learning Credits Required: 10
Who this lab is designed for
  • IT Professionals
  • DevOps Engineers

Learning Objectives

  • Create multiple templates with their own resources templates and variables
  • Pass parameters from one template to another
  • Create dependencies between templates
  • Deploy the master template to a resource group using Visual Studio 2017


  • An understanding of Azure Virtual Machines and Virtual Machine Scale Sets


Exercise 1: Environment Setup
In this exercise, you create a Virtual Machine in Azure that will be used to complete the exercises in this lab guide.
Exercise 2: Setup a Development Environment

In this exercise, you will fork an existing GitHub repository into your own GitHub account and explore the starting files for the project.

Exercise 3: Orchestrating the Templates

In this exercise, you will create a master ARM template that orchestrates the deployment of several templates to provision and update resources. 

Exercise 4: Deploy the Template
In this exercise, you will use the Azure CLI 2.0 command line tools to deploy your nested template and validate it in the Azure Management portal.
Exercise 5: Delete Resources from your Subscription
In this exercise, you will delete the resources from your Azure subscription.

Login to Start Lab

Not Registered? Already Registered?
Real Time Labs allow you to learn technology in an isolated environment without the hassle or cost of setting up a dedicated learning environment.

How it works