hands-on lab

Exploring State Management with Dapr in Azure Container Apps

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 3
On average, students complete this lab in15m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Dapr (Distributed Application Runtime) is a portable, event-driven runtime that simplifies building distributed applications. When integrated with Azure Container Apps, it provides a rich set of building blocks that enable developers to build microservices-based applications without writing complex distributed systems code. These building blocks include state management, service invocation, pub/sub messaging, and more.

By leveraging Dapr in Azure Container Apps, developers can focus on business logic while the platform handles complex distributed application patterns. The combination provides built-in scalability, resiliency, and observability features, making it easier to build, deploy and manage cloud-native applications. This approach significantly reduces development time and maintenance overhead while ensuring enterprise-grade reliability.

In this lab, you will learn how to use Dapr with Azure Container Apps to manage state and publish-subscribe messages.

Learning objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Create a Dapr component on an Azure Container App Environment
  • Configure conatiner apps to publish and subscribe to messages using Dapr
  • Manage Dapr state in Azure Storage Blob

Intended audience

  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Machine Learning Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Container Apps
  • Azure Storage Blob

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Hands-on Lab UUID

Lab steps

Logging in to the Microsoft Azure Portal
Logging into Azure Portal using Azure CLI
Configuring Dapr State Store on Container App Environment