Press F to toggle presentation mode · Double-click any slide to start there
1 /
Azure · API Management

Azure API Management Samples

Deploy high-fidelity APIM infrastructures in minutes and experiment with real-world policy samples — an innovative à la carte approach that is neither too much nor too little.

February 2026

🎓
Educate Common APIM architectures seen across industries
Empower Safely experiment with APIM policies
🚀
Accelerate High-fidelity building blocks for integration

Today's Agenda

What we'll cover in the next hour

01

The Motivation

Why does APIM Samples exist, and what problem does it solve?

The APIM Experimentation Gap

Experimenting with Azure API Management has historically fallen into two extremes — both leaving a gap for customers and engineers who need something more practical and focused.

🚧

Too Much

Full landing zone accelerators are comprehensive and production-grade, but can feel overwhelming when you just want to experiment with policies or compare architectures. The setup effort is significant.

📋

Too Little

Isolated policy snippets are handy references, but they assume an existing infrastructure. Without a running APIM instance, you can't try them in context or see how they interact with real architectures.

🎯

Just Right

APIM Samples bridges this gap: real, deployable infrastructures paired with real-world policy samples. It's neither too much nor too little — it's just right.

The À La Carte Approach

APIM Samples decouples infrastructure from samples. Deploy any architecture, then layer on any compatible sample — mix and match freely. Together, the whole becomes greater than the sum of its parts.

⚙ Infrastructures

  • 5 production-grade architectures from simple to fully-private
  • Deploy via Jupyter notebooks — guided, step-by-step
  • Bicep IaC for repeatable, parameterized deployments

📚 Samples

  • 10 real-world scenarios covering auth, networking, costing, and more
  • Each sample is self-contained with its own notebook and policies
  • Most samples work with any infrastructure
🧩

Mix & Match

Any infrastructure
+
any compatible sample
=
your custom lab

A flexible combination where 1 + 1 feels like 3.

02

What's Inside

Infrastructures, samples, and key features at a glance

5 Infrastructure Architectures

From simple public access to fully-private enterprise-grade networking

Simple API Management

Publicly accessible APIM instance. Fastest to deploy (~5 min). Great for getting started.

~$1-2/hr

APIM & Container Apps

APIs in Azure Container Apps with public access. Ideal for container-based backends.

ACA Backend

Front Door & APIM (Private Link)

Azure Front Door to APIM via private link. Traffic rides the Microsoft backbone.

Standard V2

App Gateway & APIM (Private Link)

Application Gateway to APIM via Private Link, using a private endpoint for the inbound connection.

Standard V2

App Gateway & APIM (VNet Injection)

Full VNet injection of APIM and ACA. Maximum network isolation. APIM is shielded unless traffic comes through App Gateway.

Max Isolation

10 Real-World Policy Samples

From authentication & authorization to network routing, cost tracking, and secure access patterns

General

Basic APIM setup & policy usage. Perfect starting point.

AuthX

JWT authentication & role-based authorization with a mock HR API.

AuthX Pro

Advanced multi-API auth with reusable policy fragments.

Azure Maps

Proxying calls to Azure Maps through APIM policies.

Costing

Track API costs per business unit via subscriptions, Entra ID apps, and AI Gateway tokens across both Azure OpenAI Chat Completions and Responses APIs, including streaming (SSE) token usage (not simple to capture correctly in APIM).

Dynamic CORS

Per-API CORS origin validation with custom policy fragments & maintainable origin mappings.

Credential Manager

APIM Credential Manager with Spotify's REST API.

Load Balancing

Priority & weighted load balancing across backends.

Egress Control

Route APIM outbound traffic through Azure Firewall in a hub/spoke topology.

Secure Blob Access

Valet key pattern for secure Azure Blob Storage access.

Infrastructure × Sample Compatibility

Most samples work with all infrastructures — a truly à la carte experience.

Infrastructure and Sample Compatibility Matrix

Infrastructure × SKU Compatibility

Each infrastructure supports specific APIM SKUs based on its networking requirements.

Infrastructure and SKU Compatibility Matrix
03

Why This Approach

Key differentiators that set APIM Samples apart

Key Differentiators

🧩

Modular & Flexible

Mix any infrastructure with any compatible sample. Not a monolith — truly à la carte.

📝

Guided Notebooks

Jupyter notebooks walk you through every step. No guessing, no tribal knowledge.

Fast to Deploy

Simple APIM in ~5 minutes. Not hours of landing zone setup before you can experiment.

One-Click Setup

GitHub Codespaces or Dev Container. Everything pre-configured, no local prerequisites.

🛠

Modern Tooling

Bicep IaC, Developer CLI, pytest, ruff, code coverage. Professional development workflow.

🏆

Quality & Trust

OpenSSF Best Practices certified. CI/CD pipeline. Cross-platform (Windows, Linux, macOS).

04

Live Demo

Deploying an infrastructure, running a sample, and exploring in Azure Portal

Demo: Getting Started

1
💻

Open in Codespaces

One-click launch from the repository. Environment is ready in 2-3 minutes with everything pre-installed.

2
🔧

Developer CLI

Run ./start.sh (macOS/Linux) or .\start.ps1 (Windows) to access the interactive menu. Verify setup, run tests, manage workflows.

3

Deploy Infrastructure

Open an infrastructure's create.ipynb and run all cells. Resources appear in Azure Portal.

4
🎓

Run a Sample

Open a sample's create.ipynb, run all cells, make API calls, and experiment with policies.

Let's see it in action! — We'll deploy an infrastructure and run a sample live.

Demo: In the Azure Portal

Once deployed, explore the resources in the Azure Portal to see everything APIM Samples creates.

Infrastructure Resources

  • API Management service — The core APIM instance with configured APIs and policies
  • Application Insights — Monitoring, logging, and diagnostics for API calls
  • Networking — VNets, subnets, NSGs, private endpoints (depending on infrastructure)
  • Container Apps — Backend APIs running in ACA (where applicable)

What to Explore

  • APIs & Operations — See deployed APIs, their operations, and test them directly
  • Policy Editor — View and edit inbound, outbound, and backend policies
  • Subscriptions — Manage API keys and access control
  • Diagnostics — Trace API calls, view logs, and monitor performance
05

Empowering Customers

Unlock your API management potential

Customer Success Scenarios

🎓

Discovery & Education

Show customers real architectures in action. Experience different APIM configurations hands-on, not just on paper.

🔬

Proof of Concept

Deploy an infrastructure matching your scenario and test relevant samples. See policy behaviors in a real, risk-free environment.

🛠

Policy Prototyping

Safely experiment with policies before production. Test auth flows, rate limiting, transformations, and more in a sandbox environment.

🚀

Empower Independence

Fork the repo and build your own solutions. Guided notebooks and clear documentation make self-service success straightforward.

How You Can Help

Every contribution makes APIM Samples better for everyone

Star & Share

Star the repo and share it with your network and customers.

💬

Try & Give Feedback

Run the samples, file issues, and suggest improvements.

💻

Contribute

Add new samples, improve docs, or enhance existing code.

🤝

Use in Engagements

Leverage it with customers and share what you learn back.

What We Covered

APIM Samples fills the gap between "too much" and "too little" — offering a flexible, modular, and guided approach to learning and experimenting with Azure API Management.

🎓

Educate

5 architectures spanning simple public access to fully-private enterprise networking.

Empower

9 real-world samples with guided Jupyter notebooks and à la carte flexibility.

🚀

Accelerate

High-fidelity building blocks, modern tooling, and Codespaces for instant setup.

"Neither too much nor too little. Just right."

Questions & Discussion

Thank you for your time! Let's discuss!