Azure Bicep - Zero to Hero
Minimum price
Suggested price

Azure Bicep - Zero to Hero

Deploy and Manage Azure Infrastructure as Code

About the Book

Many are struggling to make ends meet ever since the pandemic started. Therefore, I decided that all proceeds from this book will go to charity.

Azure Resource Manager (ARM) brought in a new deployment model to Microsoft Azure. Unlike the classic deployment model, ARM looks at groups of resources and manages the life cycle of these resource groups from end to end. ARM simplified how you built and managed services on Azure. Along with the ARM deployment model, Microsoft also introduced a new way of provisioning Azure services through Azure Resource Manager templates. These templates are based on JSON data representation and provided a declarative way to define your Azure infrastructure. ARM templates offer a great way to automate infrastructure provisioning and integrate well into the infrastructure as code practices. However, using JSON data representation for ARM template language makes it too complex to read and write more extensive infrastructure definitions. For users getting started with Azure infrastructure deployments, this can be a nightmare.

Enter Azure Bicep. Bicep language is a transparent abstraction over ARM template language. Azure Bicep templates traspile to ARM JSON templates. Bicep language is easy to learn and very simple to read and write. Being a transparent abstraction on top of ARM templates, Bicep supports the same resource types and properties. By building on top of resource specification API as the backend, Bicep enables day-zero support for any new resource introduced as an Azure service.

This book focuses on deploying and managing Azure infrastructure with Bicep and covers everything that you need to know right from basics to the advanced usage of Bicep language to create complex Azure infrastructure configurations and implementing continuous pipelines for your Azure infrastructure configurations.

  • Share this book

  • Categories

    • Microsoft Azure
    • DevOps
    • Cloud Computing
  • Installments completed

    11 / 11

  • Feedback

    You must own a copy of this Book to access the forums.

    Email the Author(s)

About the Author

Ravikanth Chaganti
Ravikanth Chaganti

Ravikanth is a technologist in the Infrastructure Solutions Group at Dell EMC. He has over 20 years of experience in enterprise data center management, networking, server virtualization, software-defined storage, private/hybrid/public cloud architectures, and infrastructure automation. He is an automation fanatic and works with PowerShell, Python, and Go. He is a well-known member of the PowerShell community and is the lead of Bangalore IT Pro and PowerShell Bangalore User Groups. Ravikanth is also the organizer of PowerShell Conference Asia. Ravikanth is a multi-year recipient of Microsoft MVP award and he is a published author specializing in DevOps and Infrastructure As Code.

Table of Contents

  • Part 1
  • Introduction
    • Infrastructure As Code
    • Azure Resource Manager
    • Why Bicep
    • Introducing Bicep
    • Summary
  • Getting Started
    • Installing Bicep CLI
    • Authoring Bicep templates
    • First Bicep template
    • Compiling and deploying Bicep templates
    • Summary
  • Working with resources
    • Defining resources
    • Resource dependencies
    • Child resources
    • Extension Resources
    • Reference existing resources
    • Scoped resource deployment
    • Summary
  • Authoring reusable templates
    • Parameters
    • Parameter decorators
    • Output
    • Generating Parameter files
    • Summary
  • Variables, function, and expressions
    • Summary
  • Iterations and Conditions
    • Iterations
    • Sequential deployments
    • Conditional deployments
    • Combining iterations and conditions
    • Summary
  • Creating and Consuming Modules
    • Creating modules
    • Consuming modules
    • Iterations and conditions
    • Deploying at multiple scopes
    • Sharing modules
    • Module aliases
    • Summary
  • Developing Bicep templates in VS Code devcontainers
    • Visual Studio Code Development Containers
    • GitHub Codespaces
    • Summary
  • CI and CD of Bicep templates
    • Customizing linter rules
    • Build and deploy
    • A local pipeline
    • GitHub actions for CI/CD
    • Summary
  • Built-in function primer
    • any function
    • loadJsonContent function
    • getSecret function
    • Summary
  • Part 2
  • Provisioning a Kubernetes Cluster
    • Kubernetes cluster architecture
    • Bicep template structure
    • Provisioning workflow
    • Summary

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub