15 episodes

Learn Live: Use Bicep to deploy your Azure infrastructure as code

Learn how to deploy Azure resources by using Bicep. Bicep is a language and set of tools to help you to deploy your infrastructure as code. Bicep makes your deployments more consistent and repeatable. Learn Live with our experts.

Join us for this live learning experience where you will be guided by subject matter experts through the Learn modules below in real time along with developers around the globe. Earn badges, prepare for certifications and Learn Live with a great community! See you there :)

Introduction to infrastructure as code using Bicep

Introduction to infrastructure as code using Bicep

Describe the benefits of using infrastructure as code, Azure Resource Manager, and Bicep to quickly and confidently scale your cloud deployments. Determine the types of deployments for which Bicep is a good declarative deployment tool. In this episode, you will:

  • Describe the benefits of infrastructure as code
  • Describe the difference between declarative and imperative infrastructure as code
  • Explain what Bicep is, and how it fits into an infrastructure as code approach
Build your first Bicep template

Build your first Bicep template

Define Azure resources within a Bicep template. Improve the consistency and reliability of your deployments, reduce the manual effort required, and scale your deployments across environments. Your template will be flexible and reusable through the use of parameters, variables, expressions, and modules. In this episode, you will:

  • Create and deploy Azure resources by using Bicep
  • Add flexibility to your templates by using parameters, variables, and expressions
  • Create and deploy a Bicep template that includes modules
Build reusable Bicep templates by using parameters

Build reusable Bicep templates by using parameters

Use Bicep parameters to provide information for your template during each deployment. Add decorators to make your parameters easy to understand and work with, and to protect secret data. Provide parameter values at the command line and by using parameter files. In this episode, you will:

  • Customize parameters and limit the values that can be used by each parameter
  • Understand the ways that parameters can be supplied to a Bicep template deployment
  • Work with secure parameters
Build flexible Bicep templates by using conditions and loops

Build flexible Bicep templates by using conditions and loops

Deploy resources only when specific constraints are in place. Use loops to deploy multiple resources that have similar properties. In this episode, you will:

  • Deploy resources conditionally within a Bicep template
  • Deploy multiple instances of resources by using loops
  • Use output and variable loops
Create composable Bicep files by using modules

Create composable Bicep files by using modules

Design and build reusable modules to simplify your Bicep templates. Compose multiple modules into templates by using parameters and outputs. In this episode, you will:

  • Design and create reusable, well-structured Bicep modules
  • Create Bicep files that use multiple modules together
Deploy child and extension resources by using Bicep

Deploy child and extension resources by using Bicep

Deploy a variety of Azure resources in your Bicep code. Define and use child and extension resources. Work with resources that you created outside a Bicep template or module. In this episode, you will:

  • Explain resource types and resource IDs
  • Deploy child and extension resources
  • Represent and use preexisting resources in a Bicep template
Manage changes to your Bicep code by using Git

Manage changes to your Bicep code by using Git

Track of changes to your Bicep code and view the history of the files you've changed. Use branches to develop multiple versions of your code at the same time. Publish your repository to support collaboration. In this episode, you will:

  • Explain the benefits of version control and Git
  • Commit Bicep templates to a Git repository and view the history of your changes
  • Create and merge a branch
  • Publish a Git repository to GitHub or Azure Repos so that you can collaborate with others
Structure your Bicep code for collaboration

Structure your Bicep code for collaboration

Build Bicep files that support collaborative development and follow best practices. Plan your parameters to make your templates easy to deploy. Use a consistent style, clear structure, and comments to make your Bicep code easy to understand, use, and modify. In this episode, you will:

  • Select the appropriate parameters for a Bicep file
  • Structure your Bicep code and parameters to support team collaboration
  • Document your Bicep code by using comments and resource tags
Preview Azure deployment changes by using what-if

Preview Azure deployment changes by using what-if

Preview the effects of your deployments. Understand the types of changes detected by the what-if operation. Deploy your templates using incremental and complete mode. In this episode, you will:

  • Describe the two deployment modes in Azure and their effects
  • Preview what changes will happen before you deploy by using the what-if operation
Migrate Azure resources and JSON ARM templates to use Bicep

Migrate Azure resources and JSON ARM templates to use Bicep

Export and convert your Azure resources to Bicep files, and migrate your JSON ARM templates to Bicep. Refactor your Bicep files to follow best practices. Test your Bicep files and deploy them to production. In this episode, you will:

  • Convert JSON ARM templates to Bicep
  • Create Bicep definitions for your existing Azure resources
  • Verify template conversions by using the what-if operation and documentation
Review Azure infrastructure changes by using Bicep and pull requests

Review Azure infrastructure changes by using Bicep and pull requests

Avoid unintended changes and poorly written Bicep code by using pull requests. Use branching strategies to protect your main branch from accidental changes. Understand what you should look for when you review Bicep code. In this episode, you will:

  • Protect important branches from accidental changes
  • Create, review, and merge pull requests
  • Review Bicep code in pull requests
Deploy resources to subscriptions, management groups, and tenants by using Bicep

Deploy resources to subscriptions, management groups, and tenants by using Bicep

Deploy Azure resources at the subscription, management group, and tenant scope. Understand how Azure resources are deployed at different scopes, why this is important, and how to create Bicep code to deploy them. Create a single set of Bicep files that you can deploy across multiple scopes in one operation. In this episode, you will:

  • Explain resource scopes, including tenant-level, management group-level, and subscription-level resources
  • Deploy resources at specific scopes by using Bicep templates
  • Create Bicep files that you can deploy to multiple scopes
Extend ARM templates by using deployment scripts

Extend ARM templates by using deployment scripts

Add custom steps to your Bicep or JSON Azure Resource Manager templates (ARM templates). Integrate deployment scripts with your deployment by using parameters and outputs. In this episode, you will:

  • Perform custom steps in your ARM templates by using a deployment script
  • Define parameters to make your deployment scripts more reusable
Share Bicep modules by using private registries

Share Bicep modules by using private registries

Reuse Bicep modules to reduce code duplication and increase the quality of your deployments. Create a private registry for your organization. Publish shared modules to the registry, and consume them in multiple deployments. In this episode, you will:

  • Create a private registry for your own organization
  • Publish a module to, and consume a module from, a private registry
Publish libraries of reusable infrastructure code by using template specs

Publish libraries of reusable infrastructure code by using template specs

Reuse and share your ARM templates across your organization. Publish template specs that deploy resources pre-configured for your organization's requirements. Control access and safely update template specs by using versions. In this episode, you will:

  • Create and deploy template specs
  • Add versions to template specs

Our Speakers and Moderators

  • Alex Frankel

    Principal Program Manager, Microsoft

    Twitter
  • Angel Perez

    Program Manager at Azure Deployments, Microsoft

    LinkedIn
  • Barbara Forbes

    Azure Technical lead, Microsoft Azure MVP, OGD ict-diensten

    Twitter
  • Brandon Martinez

    Senior Customer Engineer, FastTrack for Azure, Microsoft

    Twitter
  • Gitte Vermeiren

    Senior Customer Engineer, FastTrack for Azure, Microsoft

    Twitter
  • John Downs

    Senior Customer Engineer, FastTrack for Azure, Microsoft

    Twitter
  • Joshua Waddell

    Senior Customer Engineer, FastTrack for Azure, Microsoft

    Twitter
  • Neil Peterson

    Senior Site Reliability Engineer, Microsoft

    Twitter
  • Stephanie Yen

    Program Manager, Azure Deployments, Microsoft

    Twitter
  • Steven Murawski

    Principal Cloud Advocate, Microsoft

    Twitter
  • Victor Worapon Viriyaampanond

    Senior Customer Engineer, Microsoft

    LinkedIn
  • Will Velida

    Customer Engineer II, FastTrack for Azure, Microsoft

    Twitter
  • William Salazar

    Senior Customer Engineer, FastTrack for Azure, Microsoft

    Twitter

Frequently Asked Questions

Is there a cost to attend the event?

The event is free! You can join Learn TV to the stream content for free!

When does the event take place?

Every week starting March 8, 2022 through June 28, 2022

Will this event be available on-demand?

Yes! You can stream our past events anytime! Browse all Learn Live to stream anytime.

Where does the event take place?

This event series is virtual! Join us and thousands of others to enjoy the experience from the comfort of your own home, office, or device.

What language are episodes delivered in?

This show is delivered in English. Captioning in 14 different languages will be available in the recordings, made available 48 hours after each live show at Learn Live.

Code of Conduct

We seek to provide a respectful, friendly, professional experience for everyone, regardless of gender, sexual orientation, physical appearance, disability, age, race or religion. We do not tolerate any behavior that is degrading to any gender, race, sexual orientation, or disability, or any behavior that would be deemed harassment or discrimination. Individuals are responsible for knowing and abiding by our standards and we encourage everyone to assist in creating a welcoming and safe environment. Additionally, we strive to treat our shared planet with the same amount of respect. Please report any questions, concerns, or disruptive activity or behavior to the organizing team, so that we can address the issue immediately.