Hands-On LabIntermediate

Build a Serverless API with Azure Functions and API Management

Create an HTTP-triggered Azure Function, front it with API Management, and apply rate limiting and subscription key policies.

60 minEstimated time
5Guided steps
AutoVerification
IsolatedSandbox
Build a Serverless API with Azure Functions and API Management

Lab overview

Modern application architectures increasingly rely on serverless computing for API workloads, eliminating the need to manage infrastructure while providing automatic scaling and pay-per-execution pricing. Azure Functions provides event-driven, auto-scaling compute that pairs naturally with Azure API Management - a fully managed gateway that adds security, throttling, and access control to any API backend. Together, they form a production-ready serverless API stack that scales from zero to millions of requests without provisioning a single server.

In this lab, you will create an HTTP-triggered Azure Function using Functions Core Tools, deploy it to a pre-provisioned Function App, import it as a backend API in API Management, configure rate limiting policies, and test the API using subscription keys to verify controlled access and throttling behavior.

Objectives

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

  • Create and deploy an HTTP-triggered Azure Function using Functions Core Tools
  • Import the Function as a backend API in API Management
  • Configure rate limiting per subscription policy
  • Create and manage APIM subscription keys for controlled access
  • Test the serverless API through the gateway with and without subscription keys

Who is this lab for?

This lab is designed for cloud developers and Azure administrators who want to build production-ready serverless APIs. Familiarity with REST APIs, the Azure portal, and basic command-line operations is recommended.

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

Browser Code IDELive Cloud Environment

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

    Create and Deploy an HTTP-Triggered Azure Function

    1 automated check

  3. 03

    Import the Azure Function into API Management

    1 automated check

  4. 04

    Configure Rate Limiting and Inbound Policies

    1 automated check

  5. 05

    Test the API with Subscription Keys and Throttling

    1 automated check

Skills validated

Privileged Identity Management

Not the lab you were looking for?

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

Explore the catalog