Introduction
Infrastructure as code, sometimes referred to as IaC, is a way to provision infrastructure resources that's similar to how software is deployed. These resources include virtual machines, virtual networks, and web applications. Infrastructure as code can help automate your deployments, increase confidence in your deployments, and increase efficiency and repeatability.
Example scenario
Suppose you work as an Azure infrastructure administrator at a toy company that's experiencing significant growth in the global market. As a result, your infrastructure needs to scale with the company's growth, including:
- Deployments of new applications for internal teams and customers.
- Multiple region deployments to support your customers and partners around the world.
- Multiple environment deployments to ensure consistency.
You're asked to evaluate whether infrastructure as code might be a valuable approach to resource provisioning at your company. You also need to decide which technology to use when you deploy your Azure infrastructure.
What are we doing?
In this module, you learn about the concept of infrastructure as code and its benefits. You also learn the purpose of Bicep as an infrastructure-as-code language and understand how it works. This module helps you find answers to these questions:
- What is infrastructure as code?
- How can infrastructure as code help you automate resource provisioning?
- What is Bicep and how does it work?
- When should you use Bicep instead of other tooling options?
What is the main goal?
After completing this module, you're able to determine whether infrastructure as code is the right approach and tool for your organization.
Prerequisites
You should be familiar with:
- Basic cloud computing concepts and terminology.
- Different types of cloud resources.