Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Deploy Azure resources by using Bicep and Azure Pipelines

Microsoft via Microsoft Learn

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
  • Build a basic deployment pipeline for Bicep infrastructure as code templates by using Azure DevOps and Azure Pipelines.

    After completing this module, you'll be able to:

    • Automate Bicep deployments by using a pipeline in Azure Pipelines.
    • Set up a service connection to authenticate a pipeline to Azure.
    • Select an appropriate pipeline trigger and set of tasks for a Bicep deployment.
  • Learn how to create, manage, and grant permissions to service principals, which enable your deployment pipelines to securely authenticate to Azure.

    After completing this module, you'll be able to:

    • Explain what a service principal is, how it works, and how it compares to a managed identity.
    • Create a service principal and manage its keys.
    • Configure the appropriate authorization for a service principal to deploy Azure resources.
  • Build a deployment pipeline for Bicep infrastructure as code templates. Lint, validate, preview, and test your Bicep code by using Azure DevOps and Azure Pipelines.

    After completing this module, you'll be able to:

    • Add Bicep code linting during continuous integration
    • Add preflight deployment validation during build or release stages
    • Add what-if checks, including manual approval steps
    • Verify the configuration of the deployed environment

Syllabus

  • Build your first Bicep deployment pipeline by using Azure Pipelines
    • Introduction
    • Understand Azure Pipelines
    • Exercise - Create and run a basic pipeline
    • Deploy Bicep files by using a pipeline
    • Exercise - Create a service connection
    • Exercise - Add a Bicep deployment task to the pipeline
    • Use triggers to control when your pipeline runs
    • Exercise - Update your pipeline's trigger
    • Module assessment
    • Summary
  • Authenticate your Azure deployment pipeline by using service principals
    • Introduction
    • Understand service principals
    • Create a service principal and key
    • Exercise - Create a service principal and key
    • Grant a service principal access to Azure
    • Exercise - Authorize your service principal for deployments
    • Module assessment
    • Summary
  • Test your Bicep code by using Azure Pipelines
    • Introduction
    • Understand pipeline stages
    • Lint and validate your Bicep code
    • Exercise - Set up your environment
    • Exercise - Add lint and validate stages to your pipeline
    • Preview and approve your deployment
    • Exercise - Add a preview stage to your pipeline
    • Test your resources after deployment
    • Exercise - Add a test stage to your pipeline
    • Module assessment
    • Summary

Reviews

Start your review of Deploy Azure resources by using Bicep and Azure Pipelines

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.