Hands-On LabIntermediate

Build a Serverless Image Processing Pipeline with Azure Functions

Auto-resize every image uploaded to Azure Storage using blob-triggered Functions, thumbnail generation, and Table Storage metadata.

60 minEstimated time
5Guided steps
AutoVerification
IsolatedSandbox
Build a Serverless Image Processing Pipeline with Azure Functions

Lab overview

In this lab, you will build a fully serverless image processing pipeline on Azure. When an image is uploaded to a Blob Storage "uploads" container, a blob-triggered Azure Function automatically detects the new file, generates multiple thumbnail sizes, stores them in an "output" container, and writes metadata (original filename, dimensions, thumbnail URLs, processing timestamp) to Azure Table Storage. This pattern mirrors how services like Cloudinary and Imgix work behind the scenes and is widely used by content platforms, SaaS applications, and media pipelines.

You will work with Azure Functions blob triggers on the Flex Consumption plan, the Sharp image processing library in Node.js, Azure Blob Storage and Table Storage output bindings, and Azure Event Grid subscriptions for low-latency event delivery. Along the way, you will learn how Event Grid pushes blob events to your function, how to process binary data inside a serverless function, and how to write structured metadata for downstream consumers.

Objectives

Upon completing this Intermediate level lab, you will be able to:

  • Build a blob-triggered Azure Function that uses the Sharp library to generate multiple thumbnail sizes and write them to Blob Storage
  • Persist image metadata (filename, dimensions, sizes, timestamps) to Azure Table Storage using output bindings
  • Wire blob events from a Storage Account to a Flex Consumption Function App by creating an Event Grid subscription
  • Validate the end-to-end serverless pipeline by uploading images and confirming thumbnails and metadata appear automatically

Who is this lab for?

This lab is designed for:

  • Cloud developers who want hands-on experience building event-driven serverless pipelines on Azure
  • Full-stack and SaaS engineers looking to implement automated image processing without managing servers
  • Content platform builders who need scalable, cost-effective media processing patterns

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
60 min
Steps
5

Environment

Live Cloud EnvironmentBrowser Code IDE

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Logging into Azure CLI

  2. 02

    Explore the Pre-Provisioned Storage Account and Function App

    1 automated check

  3. 03

    Create a Blob-Triggered Function for Image Processing

    2 automated checks

  4. 04

    Create an Event Grid Subscription for Blob Events

    1 automated check

  5. 05

    Test the End-to-End Image Processing Pipeline

    1 automated check

Skills validated

Azure StorageAzure FunctionsAzure Event Grid

Not the lab you were looking for?

Browse 200+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog