Deploy a Small Environment Using an ARM Template

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, we’ll use the Azure Custom Template editing tool to build and deploy from an ARM Template. The goal of this lab is to introduce you to how ARM templates are built and teach you how to use one of the more underrated tools in the Azure Console.

* Build a basic ARM Template from scratch
* Deploy from the ARM Template you’ll build
* Save the ARM template for use in future builds

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Basic Arm Template

ARM Templates can be built using Quickstart Templates, the Azure Custom Template Builder, or from scratch.

Make sure to include:

  • 1 Virtual Network with 2 subnets
  • 1 Storage Account
  • 1 Virtual Machine

Challenge: Create Your Own Template From Scratch
Instead of using a quickstart template, try to build your own from scratch using just an IDE such as Visual Studio Code. You can find Microsoft’s guide on template structure at the link below. Go nuts!

Deploy the ARM Template

This step is all in the title. Deploy your template!

Verify Environment Deployed Successfully

Once all objects have been deployed, verify the following:

  1. Your Resource Group has 1 Virtual Network
  2. You have 2 subnets within that Virtual Network
  3. You have a new storage account
  4. You have 1 Virtual Machine

Having verified all this, you can continue to play around with your template and deploy additional resources, or simply exit the lab.

Bonus Points
Build another environment with a Virtual Machine in each subnet.

Additional Resources

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?