Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions infrastructure/apim-workspaces/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Simple API Management Infrastructure

This architecture provides a basic API gateway using Azure API Management, suitable for simple scenarios where secure API exposure and basic observability are required.

<img src="./Simple API Management Architecture.svg" alt="Diagram showing a simple Azure API Management architecture. API Management acts as a gateway for API consumers. Telemetry is sent to Azure Monitor." title="Simple API Management Architecture" width="800" />

## 🎯 Objectives

1. Provide the simplest Azure API Management infrastructure with a public ingress to allow for easy testing
1. Enable observability by sending telemetry to Azure Monitor

## ⚙️ Configuration

Adjust the `user-defined parameters` in this lab's Jupyter Notebook's [Initialize notebook variables](./create.ipynb#initialize-notebook-variables) section.

## ▶️ Execution

👟 **Expected *Run All* runtime: ~3 minutes**

1. Execute this lab's [Jupyter Notebook](./create.ipynb) step-by-step or via _Run All_.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions infrastructure/apim-workspaces/clean-up.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### 🗑️ Clean up resources\n",
"\n",
"When you're finished with the lab, you should remove all your deployed resources from Azure to avoid extra charges and keep your Azure subscription uncluttered."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import utils\n",
"from apimtypes import INFRASTRUCTURE\n",
"\n",
"deployment = INFRASTRUCTURE.SIMPLE_APIM\n",
"indexes = [1]\n",
"\n",
"utils.cleanup_infra_deployments(deployment, indexes)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "APIM Samples Python 3.12",
"language": "python",
"name": "apim-samples"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.10"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading