Welcome to QA's learning platform (formerly Cloud Academy). Learn more about our journey here, opens in a new tab.
hands-on lab

Automating File Processing with Azure Functions and Storage Blob Triggers

Difficulty: Advanced
Duration: Up to 1 hour
Students: 3
On average, students complete this lab in1h 15m
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

Azure Event Grid and Azure Functions work together to create powerful event-driven, serverless applications in Azure. Event Grid acts as an intelligent event routing service that uses a publish-subscribe model to deliver events from various sources (like Blob Storage or IoT Hub) to multiple destinations, while Azure Functions provides the serverless compute capability to process these events without managing infrastructure. When integrated, Event Grid can automatically trigger Azure Functions whenever specific events occur - for example, when files are uploaded to Blob Storage, Event Grid can detect these changes and invoke a Function to process the files, enabling automated workflows with minimal code and infrastructure management.

In this lab, you will learn how to use Azure Function and Event Grid to automate file processing in Azure Blob Storage.

Learning objectives

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

  • Create an Event Grid topic and subscribe to Blob Storage events
  • Publish Azure Function code to process events
  • Execute and monitor the function execution and event delivery

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 Blob Storage
  • Azure Functions
  • Azure Event Grid

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 using Azure CLI
Creating Azure Function App to Process Storage Event
Setting up Eventgrid Subscription for Storage Events