Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Getting started with Bicep: Infrastructure as code on Azure

Posted By: DZ123
Getting started with Bicep: Infrastructure as code on Azure

Freek Berson, "Getting started with Bicep: Infrastructure as code on Azure"
English | 2021 | ASIN: B0984MQY2N, B0B28D1P6V | EPUB | pages: 291 | 4.6 mb

This book is your guide to mastering Bicep! It contains practical solutions and examples to help you jump start your journey towards Infrastructure as Code for Azure!
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
- Leveraging features like snippets, scaffolding, and linter that support you while authoring Bicep templates
Who this book is intended for
DevOps engineers, developers, consultants, and Azure architects with or without experience in ARM Templates and infrastructure as code looking 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