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
What we'll cover in the next hour
Why does APIM Samples exist, and what problem does it solve?
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.
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.
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.
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.
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.
Any infrastructure
+
any compatible sample
=
your custom lab
A flexible combination where 1 + 1 feels like 3.
Infrastructures, samples, and key features at a glance
From simple public access to fully-private enterprise-grade networking
Publicly accessible APIM instance. Fastest to deploy (~5 min). Great for getting started.
~$1-2/hrAPIs in Azure Container Apps with public access. Ideal for container-based backends.
ACA BackendAzure Front Door to APIM via private link. Traffic rides the Microsoft backbone.
Standard V2Application Gateway to APIM via Private Link, using a private endpoint for the inbound connection.
Standard V2Full VNet injection of APIM and ACA. Maximum network isolation. APIM is shielded unless traffic comes through App Gateway.
Max IsolationFrom authentication & authorization to network routing, cost tracking, and secure access patterns
Basic APIM setup & policy usage. Perfect starting point.
JWT authentication & role-based authorization with a mock HR API.
Advanced multi-API auth with reusable policy fragments.
Proxying calls to Azure Maps through APIM policies.
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).
Per-API CORS origin validation with custom policy fragments & maintainable origin mappings.
APIM Credential Manager with Spotify's REST API.
Priority & weighted load balancing across backends.
Route APIM outbound traffic through Azure Firewall in a hub/spoke topology.
Valet key pattern for secure Azure Blob Storage access.
Most samples work with all infrastructures — a truly à la carte experience.
Each infrastructure supports specific APIM SKUs based on its networking requirements.
Key differentiators that set APIM Samples apart
Mix any infrastructure with any compatible sample. Not a monolith — truly à la carte.
Jupyter notebooks walk you through every step. No guessing, no tribal knowledge.
Simple APIM in ~5 minutes. Not hours of landing zone setup before you can experiment.
GitHub Codespaces or Dev Container. Everything pre-configured, no local prerequisites.
Bicep IaC, Developer CLI, pytest, ruff, code coverage. Professional development workflow.
OpenSSF Best Practices certified. CI/CD pipeline. Cross-platform (Windows, Linux, macOS).
Deploying an infrastructure, running a sample, and exploring in Azure Portal
One-click launch from the repository. Environment is ready in 2-3 minutes with everything pre-installed.
Run ./start.sh (macOS/Linux) or .\start.ps1 (Windows) to access the interactive menu. Verify setup, run tests, manage workflows.
Open an infrastructure's create.ipynb and run all cells. Resources appear in Azure Portal.
Open a sample's create.ipynb, run all cells, make API calls, and experiment with policies.
Once deployed, explore the resources in the Azure Portal to see everything APIM Samples creates.
Unlock your API management potential
Show customers real architectures in action. Experience different APIM configurations hands-on, not just on paper.
Deploy an infrastructure matching your scenario and test relevant samples. See policy behaviors in a real, risk-free environment.
Safely experiment with policies before production. Test auth flows, rate limiting, transformations, and more in a sandbox environment.
Fork the repo and build your own solutions. Guided notebooks and clear documentation make self-service success straightforward.
Every contribution makes APIM Samples better for everyone
Star the repo and share it with your network and customers.
Run the samples, file issues, and suggest improvements.
Add new samples, improve docs, or enhance existing code.
Leverage it with customers and share what you learn back.
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.
5 architectures spanning simple public access to fully-private enterprise networking.
9 real-world samples with guided Jupyter notebooks and à la carte flexibility.
High-fidelity building blocks, modern tooling, and Codespaces for instant setup.
Thank you for your time! Let's discuss!