Infrastructure as Code with Azure Bicep: Streamline Azure resource deployment by bypassing ARM complexities
- Length: 230 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-02-10
- ISBN-10: 1801813744
- ISBN-13: 9781801813747
- Sales Rank: #913309 (See Top 100 Books)
The ultimate guide to becoming proficient in Azure Bicep while having a better development experience and making your Infrastructure as Code seamless and error free
Key Features
- Learn Azure Bicep from an official Microsoft trainer
- Master the authoring experience to make your Infrastructure as Code journey seamless
- Go beyond writing good templates with the help of advanced tips and tricks
Book Description
It’s no secret that developers don’t like using JSON files to declare their resources in Azure because of issues such as parameter duplication and not being able to use comments in templates. Azure Bicep helps resolve these issues, and this book will guide you, as a developer or DevOps engineer, to get the most out of the Bicep language.
The book takes you on a journey from understanding Azure Resource Manager (ARM) templates and what their drawbacks are to how you can use Bicep to overcome them. You will get familiar with tools such as Visual Studio Code, the Bicep extension, the Azure CLI, PowerShell, Azure DevOps, and GitHub for writing reusable, maintainable templates. After that, you’ll test the templates and deploy them to an Azure environment either from your own system or via a continuous integration and continuous delivery (CI/CD) pipeline. The book features a detailed overview of all the Bicep features, when to use what, and how to write great templates that fit well into your existing pipelines or in a new one. The chapters progress from easy to advanced topics and every effort has been put into making them easy to follow with examples, all of which are accessible via GitHub.
By the end of this book, you’ll have developed a solid understanding of Azure Bicep and will be able to create, test, and deploy your resources locally or in your CI/CD pipelines.
What you will learn
- Get started with Azure Bicep and install the necessary tools
- Understand the details of how to define resources with Bicep
- Use modules to create templates for different teams in your company
- Optimize templates using expressions, conditions, and loops
- Make customizable templates using parameters, variables, and functions
- Deploy templates locally or from Azure DevOps or GitHub
- Stay on top of your IaC with best practices and industry standards
Who this book is for
This book is for cloud engineers, developers, and DevOps engineers who are responsible for writing templates to deploy resources in Microsoft Azure and contributing to CI/CD pipelines. Professionals who want to get started with DevOps and Infrastructure as Code when it comes to working with Microsoft Azure will also benefit from reading this book. Readers are expected to have a basic understanding of CI/CD concepts, must have worked with ARM templates to deploy resources to Azure, and must have used or be familiar with Azure DevOps or GitHub Actions for their CI/CD pipelines.