Interactive web tool to visualize Azure Availability Zone logical-to-physical mappings across subscriptions
Project description
az-mapping
Visualize how Azure maps logical Availability Zones to physical zones across your subscriptions.
Different subscriptions may map the same logical zone (e.g. Zone 1) to different physical datacenters. This tool lets you compare them side-by-side.
Quick start
# Make sure you are authenticated to Azure
az login
# Run the tool (no install required)
uvx az-mapping
Your browser opens automatically at http://127.0.0.1:5001.
CLI options
az-mapping [OPTIONS]
--host TEXT Host to bind to. [default: 127.0.0.1]
--port INTEGER Port to listen on. [default: 5001]
--no-open Don't open the browser automatically.
-v, --verbose Enable verbose logging.
--help Show this message and exit.
Alternative install
pip install az-mapping
az-mapping
Prerequisites
| Requirement | Details |
|---|---|
| Python | ≥ 3.11 |
| Azure credentials | Any method supported by DefaultAzureCredential (az login, managed identity, …) |
| RBAC | Reader on the subscriptions you want to query |
Features
- Region selector – AZ-enabled regions, loaded automatically.
- Subscription picker – searchable, multi-select.
- Collapsible sidebar – toggle the filter panel to maximize the results area.
- Graph view – D3.js bipartite diagram (Logical Zone → Physical Zone), colour-coded per subscription with interactive hover highlighting.
- Table view – comparison table with consistency indicators.
- SKU availability view – shows VM SKU availability per physical zone with filtering and CSV export.
- Export – download the graph as PNG or the tables as CSV.
- Shareable URLs – filters are reflected in the URL; reload or share a link to restore the exact view.
How it works
The backend calls the Azure Resource Manager REST API to fetch:
- Zone mappings:
availabilityZoneMappingsfrom/subscriptions/{id}/locationsendpoint - Resource SKUs: SKU details from
/subscriptions/{id}/providers/Microsoft.Compute/skusendpoint with zone restrictions and capabilities
The frontend renders the results as an interactive graph, comparison table, and SKU availability table.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file az_mapping-2026.2.2.tar.gz.
File metadata
- Download URL: az_mapping-2026.2.2.tar.gz
- Upload date:
- Size: 101.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d71e9851eea1027cc293dc32494f30df30755dc921f57792d712c4ef4e18f9d
|
|
| MD5 |
734f509b17fec2a1a3287c49129ca524
|
|
| BLAKE2b-256 |
f10ab7c78430199939d6319157d4c66de6a9c779463158b97f7ee2ee835e780f
|
Provenance
The following attestation bundles were made for az_mapping-2026.2.2.tar.gz:
Publisher:
publish.yml on lrivallain/az-mapping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
az_mapping-2026.2.2.tar.gz -
Subject digest:
7d71e9851eea1027cc293dc32494f30df30755dc921f57792d712c4ef4e18f9d - Sigstore transparency entry: 954541881
- Sigstore integration time:
-
Permalink:
lrivallain/az-mapping@3860caf13f0776ad046bbb22086d066660e065cc -
Branch / Tag:
refs/tags/v2026.2.2 - Owner: https://github.com/lrivallain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3860caf13f0776ad046bbb22086d066660e065cc -
Trigger Event:
push
-
Statement type:
File details
Details for the file az_mapping-2026.2.2-py3-none-any.whl.
File metadata
- Download URL: az_mapping-2026.2.2-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dabc60d284226c78be06489823774da3b2677474c4c7ad9e671f8299a27aa1e
|
|
| MD5 |
df5217cef1f1ed7e9f1c3fcb6170ad0d
|
|
| BLAKE2b-256 |
fd3c169f599b9e6a076d81ac9c928ea68a597e69690e9101ef1d7c839d539837
|
Provenance
The following attestation bundles were made for az_mapping-2026.2.2-py3-none-any.whl:
Publisher:
publish.yml on lrivallain/az-mapping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
az_mapping-2026.2.2-py3-none-any.whl -
Subject digest:
7dabc60d284226c78be06489823774da3b2677474c4c7ad9e671f8299a27aa1e - Sigstore transparency entry: 954541885
- Sigstore integration time:
-
Permalink:
lrivallain/az-mapping@3860caf13f0776ad046bbb22086d066660e065cc -
Branch / Tag:
refs/tags/v2026.2.2 - Owner: https://github.com/lrivallain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3860caf13f0776ad046bbb22086d066660e065cc -
Trigger Event:
push
-
Statement type: