Leveraging IaC
IaC is a key practice in DevOps that enables developers and operations to automatically manage, provision, and configure IT infrastructure through code. In Azure, there are a variety of tools and services that facilitate IaC practices. We have already mentioned some of these previously but we will review everything here.
Let us delve into how IaC is implemented in Azure and the services we can use:
- Azure Resource Manager (ARM) templates: ARM templates are the native IaC solution in Azure. They are JSON files that define the resources you need to deploy for your solution. By using ARM templates, you can define and deploy your infrastructure declaratively. We can make them more modular by defining parameters for our templates to create reusable deployment scripts and implement conditional logic for resource deployment.
- Azure Bicep: Bicep is a language for deploying Azure resources declaratively. It’s essentially a transparent abstraction over ARM...