30% OFF - Use code HANDSON30 for 30% off any course or Dometrain Pro! Browse courses →
  • Courses
  • Learning Paths
  • Blogs
  • Authors
  • Leaderboard
  • Dometrain Pro
  • Shopping Basket

    Your basket is empty

  • Business Portal
  • Getting Started: Bicep for Azure

    Learn how to manage Azure resources with Bicep from scratch

    About This Course

    Provisioning and managing cloud resources can be a daunting task, but it doesn’t have to be. Azure started with the portal and ARM templates, but to say that those are clunky to work with would be an understatement. That’s why Bicep was invented. Once you master it, provisioning and managing infrastructure in Azure is an absolute breeze. That’s why in this 5-hour course, Cloud Architect Simon Wåhlin will teach you everything you need to know to leverage Bicep and manage your resources as big enterprise companies with thousands of resources do.

    Course Curriculum

    4h 13m 12 sections
    Welcome
    01:27 Free preview
    What will you learn in this course?
    00:39 Free preview
    Who is this course for and prerequisites
    01:02 Free preview
    Introduction
    00:51
    Example of manual deployment in Azure Portal
    02:56
    Challenges with manual deployment
    01:22
    Why use Infrastructure as Code
    00:43
    What is Infrastructure as Code
    01:43
    Infrastructure as Code options for Azure
    01:58
    Example Bicep template
    01:53
    Setup developer environment intro
    01:59
    Setup Visual Studio Code
    02:41
    Install Azure CLI
    00:52
    Install Azure PowerShell modules
    01:42
    Install Bicep CLI
    01:51
    Creating your first deployment
    04:11
    Resource syntax
    04:13
    Parameters introduction
    03:26
    Output introduction
    02:32
    Summary
    00:46
    Deploying with parameters
    01:07
    Parameter decorators
    01:58
    Example Log Analytics Workspace
    03:13
    Example Container App Environment
    07:34
    Summary
    00:19
    Deploy with Visual Studio Code
    04:17
    What-If deployments in Visual Studio Code
    02:23
    Deploy with Azure CLI
    02:13
    Deploy with Azure PowerShell
    03:38
    What-If deployments with Azure CLI
    01:24
    What-If deployment with Azure PowerShell
    01:10
    Deployment Mode Introduction
    01:07
    Using Deployment Mode Complete
    01:47
    Scenario Intro - Deploy Container App
    01:00
    Float type workaround
    01:33
    The need for complex objects as parameters
    01:20
    Using generic object as parameter
    00:39
    Creating custom types
    05:31
    Generating custom types from existing schema
    02:52
    Resource derived types
    02:26
    Implementing Custom Types for Container App Environment
    04:46
    Using Modules
    03:58
    Share symbols between modules
    01:43
    Import all symbols from a template
    01:06
    Import specific symbols from a template
    02:52
    Summary
    02:18
    String interpolation
    02:01
    Introducing Functions
    09:27
    String manipulation
    04:32
    Referencing existing resources
    05:58
    Introducing User Defined Functions
    03:29
    Sharing User Defined Functions between modules
    01:14
    Getting keys from existing resources
    01:52
    Introducing Tagged Union Data type
    03:24
    Using the Lambda Function Reduce
    04:19
    Ternary operators as if statements
    01:33
    Safe dereference operator
    01:00
    Coalesce operator
    00:48
    Spread operator
    02:24
    Test and validate lambda functionality
    04:20
    Testing expressions using Bicep Console command
    02:20
    Lambda function Filter example
    01:22
    Failing early using the Fail function
    02:03
    Parameter files
    04:31
    Introduction
    02:34
    Built-in RBAC roles
    02:05
    Assinging RBAC roles using for loop
    08:12
    Example assign roles to pre-created identities
    03:08
    Example assign roles to new service principals
    02:59
    Summary Role assignments
    01:25
    Introducing Deployment Scripts
    01:24
    Implementing Azure CLI Deployment Script
    07:17
    Deployment Script with Managed Identity support
    03:44
    User assigned Managed Identity
    03:45
    Adding new modules to the solution template
    09:31
    Creating the container build script
    06:27
    Summary
    00:30
    Intro to improving Managed Identity Support
    00:25
    Create new Managed Identity types
    04:37
    User Defined Function to determine type of Managed Identity
    05:06
    User Defined Function to create and merge objects
    06:38
    Combining User Defined Functions
    02:20
    Alternative implementation to reduce ARM template size
    03:41
    Import new functions in our templates
    03:15
    Implementing support for custom Container Registry
    01:30
    Use Bicep Visualizer to understand dependencies
    05:21
    Deploying our solution
    06:39

    Meet Your Instructor

    Simon Wåhlin

    Simon Wåhlin

    Simon Wåhlin is a consultant at Unwonted in Stockholm, Sweden and has a focus on Azure, PowerShell and automation. He helps customers with both strategy, design and implementation of modern infrastructure solutions. He also teaches PowerShell and Azure as an MCT, hosts user group meetings, blogs and talks at conferences. With a background in IT-support and IT-operations and a strong interest for development he is trying to find his place in the gap between Dev and Ops.
    View all courses by Simon Wåhlin

    What's New

    Getting Started: Model Context Protocol (MCP)
    course

    Getting Started: Model Context Protocol (MCP)

    Learn how to get started with the Model Context Protocol (MCP) and integrate it into your applications.

    Learn more about Getting Started: Model Context Protocol (MCP)
    Hands-On: Learn TypeScript
    course

    Hands-On: Learn TypeScript

    Learn TypeScript through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

    Learn more about Hands-On: Learn TypeScript
    Hands-On: Learn JavaScript
    course

    Hands-On: Learn JavaScript

    Learn JavaScript through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

    Learn more about Hands-On: Learn JavaScript
    Hands-On: Data Structures & Algorithms in C#
    course

    Hands-On: Data Structures & Algorithms in C#

    Master data structures and algorithms through hands-on coding exercises in C#. Free to enroll for 7 days!

    Learn more about Hands-On: Data Structures & Algorithms in C#
    Blogsmith.ai
    feature

    Blogsmith.ai

    Turn your videos into blogs and newsletters with AI. Check out our new product at blogsmith.ai.

    Learn more about Blogsmith.ai
    Leaderboard
    feature

    Leaderboard

    See how you stack up against other learners. Track your progress, climb the ranks, and compete with the Dometrain community.

    Learn more about Leaderboard
    Hands-On: Learn PostgreSQL
    course

    Hands-On: Learn PostgreSQL

    Learn PostgreSQL through hands-on coding exercises. Practice what you learn with interactive challenges designed for every level.

    Learn more about Hands-On: Learn PostgreSQL
    Free Hands-On: C# for Beginners
    course

    Free Hands-On: C# for Beginners

    Learn C# through hands-on coding exercises. Practice what you learn with interactive challenges designed for everyone, from beginners to experts.

    Learn more about Free Hands-On: C# for Beginners
    Getting Started: AI for .NET Developers
    course

    Getting Started: AI for .NET Developers

    Get started with integrating AI into your .NET applications effectively using the latest LLM best practices.

    Learn more about Getting Started: AI for .NET Developers
    Getting Started: Building .NET Applications on AWS
    course

    Getting Started: Building .NET Applications on AWS

    Learn how to build and deploy .NET applications on AWS using CDK, Lambda, DynamoDB, S3, and more.

    Learn more about Getting Started: Building .NET Applications on AWS
    What's new in C# 14
    blog

    What's new in C# 14

    This guide covers every new C# 14 feature, explains its benefits, and provides practical code examples to help you navigate how you can use them.

    Learn more about What's new in C# 14
    Let's Build It: AI Chatbot with RAG in .NET Using Your Data
    course

    Let's Build It: AI Chatbot with RAG in .NET Using Your Data

    Build a Retrieval-Augmented Generation (RAG) chatbot that can answer questions using your data.

    Learn more about Let's Build It: AI Chatbot with RAG in .NET Using Your Data
    From Zero to Hero: SignalR in .NET
    course

    From Zero to Hero: SignalR in .NET

    Enable enterprise-grade real-time communication for your web apps with SignalR.

    Learn more about From Zero to Hero: SignalR in .NET
    Deep Dive: Solution Architecture
    course

    Deep Dive: Solution Architecture

    Master solution architecture and turn business needs into scalable, maintainable systems.

    Learn more about Deep Dive: Solution Architecture
    Migrating: ASP.NET Web APIs to ASP.NET Core
    course

    Migrating: ASP.NET Web APIs to ASP.NET Core

    A step-by-step process to migrate ASP.NET Web APIs from .NET Framework to ASP.NET Core.

    Learn more about Migrating: ASP.NET Web APIs to ASP.NET Core
    Getting Started: Caching in .NET
    course

    Getting Started: Caching in .NET

    Let's make the hardest thing in programming easy for .NET software engineers.

    Learn more about Getting Started: Caching in .NET
    From Zero to Hero: Testing with xUnit in C#
    course

    From Zero to Hero: Testing with xUnit in C#

    Learn how to test any codebase in .NET with the latest version of xUnit, the industry-standard testing library.

    Learn more about From Zero to Hero: Testing with xUnit in C#
    Create a ChatGPT Console AI Chatbot in C#
    blog

    Create a ChatGPT Console AI Chatbot in C#

    This walkthrough is your hands-on entry point to create a basic C# console application that talks to ChatGPT using the OpenAI API.

    Learn more about Create a ChatGPT Console AI Chatbot in C#