Skip to content

fberson/Getting-started-with-Bicep-Infrastructure-as-code-on-Azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started with Bicep - Infrastructure as code on Azure - Second Edition

This repository contains source codes and samples discussed in the book Getting started with Bicep - Infrastructure as code on Azure. This book is your guide to mastering Bicep! It contains a lot of practical solutions and examples to help you jump start your journey towards infrastructure as code for Azure!

The book Getting started with Bicep: Infrastructure as code on Azure is available as Kindle, paperback and hard cover! Direct link to Amazon : https://www.amazon.com/Getting-started-Bicep-Infrastructure-Azure-ebook-dp-B0984MQY2N/dp/B0984MQY2N

Book Description

Infrastructure as Code is crucial to becoming successful in the Azure Cloud. Azure Resource Manager allows you to create resources in Azure in a declarative way. For many years we have been using ARM Templates to declare resources in a JSON format. Although ARM Templates are very powerful, the implementation of the JSON language is hard to read, maintain and debug. Bicep, a Domain Specific Language, overcomes these issues by providing a transparent abstraction layer on top of ARM and ARM Templates. This significantly improves the authoring experience. Bicep is easy to understand at a glance and straightforward to learn regardless of your experience with other programming languages.

After an introduction by Mark Russinovich, Azure CTO and Technical Fellow at Microsoft and Alex Frankel, Program Manager at Microsoft, the book starts with some history and background in Infrastructure as Code and ARM Templates. It continues by explaining Bicep and providing guidance on how to get started.

After the introduction, you will start your journey by understanding the syntax of Bicep. You will start by learning the basics first and you will gradually dive deeper in the more advanced scenarios.

The book also contains a dedicated chapter on a big real-world example which provides you with great insights on how to leverage Bicep for production usage.

Part of this book is also the Bicep playground, visualizer and a PowerShell module for Bicep provided by the community. Sample code used in this book is available on a dedicated GitHub repository.

What you will learn

  • How to get started with the Bicep CLI and VSCode Extension
  • Deploying Bicep files to Azure, including template specs
  • Understanding the Bicep file structure
  • How to use the basic concepts of variables, parameters, tags, decorators, expressions, and symbolic names
  • Getting familiar with more advanced topics like dependencies, loops, conditions, target scopes, modules, nesting, module registries, pass resources between modules and shared variable files
  • Leverage the latest Bicep features like snippets, scaffolding, and linter
  • Use the Bicep Visualizer and Bicep playground to support the authoring of Templates
  • Deploy Templates using Template Specs
  • Use the Bicep PowerShell module as an extension to the Bicep CLI

Who this book is intended for

DevOps engineers, Developers, consultants, and Azure architects with or without experience in ARM Templates and infrastructure as code who want to get started with Bicep.

Table of Contents

  1. Why this book
  2. What is project bicep
  3. Getting started
  4. Bicep file structure explained
  5. Deploying bicep files to azure
  6. Bicep syntax
  7. Bicep playground and example code
  8. Bicep visualizer
  9. Template Specs
  10. Guest Chapter: Bicep PowerShell module
  11. A real-world example
  12. Alternatives to Bicep
  13. Closing Notes
  14. About the author

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published