Skip to main content

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: availabilityZoneMappings from /subscriptions/{id}/locations endpoint
  • Resource SKUs: SKU details from /subscriptions/{id}/providers/Microsoft.Compute/skus endpoint with zone restrictions and capabilities

The frontend renders the results as an interactive graph, comparison table, and SKU availability table.

License

MIT

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

az_mapping-2026.2.2.tar.gz (101.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

az_mapping-2026.2.2-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

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

Hashes for az_mapping-2026.2.2.tar.gz
Algorithm Hash digest
SHA256 7d71e9851eea1027cc293dc32494f30df30755dc921f57792d712c4ef4e18f9d
MD5 734f509b17fec2a1a3287c49129ca524
BLAKE2b-256 f10ab7c78430199939d6319157d4c66de6a9c779463158b97f7ee2ee835e780f

See more details on using hashes here.

Provenance

The following attestation bundles were made for az_mapping-2026.2.2.tar.gz:

Publisher: publish.yml on lrivallain/az-mapping

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for az_mapping-2026.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dabc60d284226c78be06489823774da3b2677474c4c7ad9e671f8299a27aa1e
MD5 df5217cef1f1ed7e9f1c3fcb6170ad0d
BLAKE2b-256 fd3c169f599b9e6a076d81ac9c928ea68a597e69690e9101ef1d7c839d539837

See more details on using hashes here.

Provenance

The following attestation bundles were made for az_mapping-2026.2.2-py3-none-any.whl:

Publisher: publish.yml on lrivallain/az-mapping

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page