Introduction to Azure Bicep Templates
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: