Introduction to Azure Bicep Templates

Lab Steps

lock
Understanding What Azure Bicep is
lock
Dissecting the Bicep Template Structure
lock
Logging into Azure using Azure CLI
lock
Adding Resources to an Azure Bicep Template

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students61
Ratings
5/5
starstarstarstarstar

Description

Other than provisioning infrastructure directly in a cloud portal, or even via some form of CLI, Infrastructure-as-Code presents a method of deploying infrastructure to the cloud declaratively, efficiently, and in an instructional manner. Bicep is an accessible and easier-to-understand templating language for deploying Azure resources than its counterpart, ARM templates. Where ARM templates are written in JSON and can be hard to read and author, the Bicep language has a simpler syntax for both reading and creating templates. However, Bicep templates are still inextricably linked to ARM templates.

In this lab, you will create a basic Bicep template to understand the new templating syntax and how it relates to ARM templates.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Understand the benefits of authoring templates in the Bicep language over JSON-based ARM Templates
  • Understand the basic principles of Infrastructure-as-Code
  • Understand the relationship between Bicep and the Azure Resource Manager
  • Add relevant resources to Bicep templates

Intended Audience

  • Students interested in the customization and automation of resources in Azure
  • Cloud Engineers
  • Cloud Architects
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial, but is not required:

  • Azure Storage Account concepts
  • A basic understanding of JSON
  • Familiarity with the Azure CLI

The following labs can be used to fulfill the prerequisites:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students212
Labs10
Learning paths1

Adil is a Microsoft Certified Trainer, former Azure Engineer, and loves all things Azure. He's a Certified Azure Administrator and has worked for some of the biggest MSPs in the world (Cognizant, New Signature, CoreAzure). He loves to combine his two passions: cloud and teaching.

Adil specializes in Azure Infrastructure services and has a curiosity for new, in-preview services from Azure, getting his hands familiar with the content before most of the world does. Adil has a keen interest in deploying services to Azure using Infrastructure-as-code and Azure DevOps. Outside work, Adil helps run a growing community of IT professionals looking to break into cloud and regularly runs workshops and webinars.