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
Environment after
Adil is a Microsoft Certified Trainer, former Azure Engineer, and loves all things Azure. He is a certified Azure Administrator and Azure DevOps Expert 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. Outside of work, Adil helps run a growing community of IT professionals looking to break into the cloud and regularly runs workshops and webinars.