Azure-Samples / Apim-Samples

Azure API Management Samples

Deploy high-fidelity Azure API Management infrastructures and experiment with real-world policies. Not too much, not too little. Just right.

Prefer slides?#

A browser-based slide deck walks you through the architectures and samples. Self-contained — save the page and present offline!

Open the slide deck

Samples#

Each sample is a focused, runnable lab. Open the notebook, press Run All, then poke at the policies. If an infrastructure is not already deployed, the notebook will guide you through creating one.

Quick Start#

From clone to a running APIM lab in under ten minutes. Codespaces is the fastest route because Python, Azure CLI, and Bicep are already installed.

  1. Choose your setup

    Click Open in GitHub Codespaces above, or follow the local setup guide in the repository README.

  2. Deploy an infrastructure

    Open infrastructure/simple-apim/create.ipynb and press Run All. Deployment takes about five minutes.

  3. Run a sample

    Open any samples/*/create.ipynb and press Run All. The notebook will find your infrastructure and deploy onto it.

  4. Experiment

    Modify the policy XML, re-run the deployment cell, fire requests at the gateway, and watch the behaviour change.