YoVDO

Deploy Azure resources by using Bicep and Azure Pipelines

Offered By: Microsoft via Microsoft Learn

Tags

Microsoft Azure Courses Bicep Courses Application Deployment Courses Azure Pipelines Courses

Course Description

Overview

  • Module 1: 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
  • Module 2: 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
  • Module 3: 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
  • Module 4: Build a deployment pipeline for Bicep IaC templates. Deploy to multiple environments by using pipeline template YAML files. Learn how to provide environment-specific parameters from your pipeline.
  • After completing this module, you'll be able to:

    • Deploy Bicep files to multiple Azure environments from a pipeline
    • Use pipeline templates to avoid repetition
    • Use and secure parameters for each environment
  • Module 5: Build a deployment pipeline for Bicep infrastructure as code templates. Create a single pipeline to deploy infrastructure, applications, and data.
  • After completing this module, you'll be able to:

    • Deploy Azure infrastructure, applications, database scripts, and storage blobs from a single pipeline
    • Use pipeline scripts and pipeline tasks to perform deployment steps
    • Use pipeline artifacts to publish compiled files for your deployment pipeline stages to use
    • Pass data from your Bicep files to other deployment steps by using outputs

Syllabus

  • Module 1: 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
    • Knowledge check
    • Summary
  • Module 2: 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
    • Knowledge check
    • Summary
  • Module 3: 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
    • Knowledge check
    • Summary
  • Module 4: Manage multiple environments by using Bicep and Azure Pipelines
    • Introduction
    • Understand environments
    • Handle similarities between environments by using pipeline templates
    • Exercise - Set up your environment
    • Exercise - Add multiple environments to your pipeline
    • Handle differences between environments by using Bicep parameters
    • Exercise - Use Bicep parameters with multiple environments
    • Knowledge check
    • Summary
  • Module 5: Manage end-to-end deployment scenarios by using Bicep and Azure Pipelines
    • Introduction
    • Understand end-to-end deployments
    • Configure applications and virtual machines
    • Exercise - Set up your environment
    • Exercise - Deploy a web application
    • Configure storage and databases
    • Exercise - Seed a storage account and database
    • Knowledge check
    • Summary

Tags

Related Courses

Implementing Azure DevOps Development Processes
A Cloud Guru
Implementing Continuous Integration in Azure
A Cloud Guru
Implementing Dependency Management in Azure
A Cloud Guru
Introduction to DevOps with Microsoft Azure
Cloudswyft via FutureLearn
Azure for DevOps: Continuous Integration
LinkedIn Learning