Skip to main content

AWSToolbox logo
Github Build Status License Created
Release Released Commits since release

Overview

This Python package allows you to list all availability zones configured for a given AWS account. It is part of our larger AWS Toolkit.

Installation

To install the package, use:

pip install wolfsoftware.list-availability-zones

Usage

To list all availability zones for your AWS account, use the following command:

usage: list-availability-zones [-h] [-V] [-p PROFILE] [-t THREADS]

List all availability zones configured for an account.

Flags:
  -h, --help            Show this help message and exit
  -V, --version         Show program's version number and exit.

Optional arguments:
  -p PROFILE, --profile PROFILE
                        AWS profile name from ~/.aws/credentials (default: None)
  -t THREADS, --threads THREADS
                        The number of threads to use (default: 8)

Requirements

You will need a valid set of AWS credentials to run this command. These credentials should be configured in your ~/.aws/credentials file.

Example Output

Below is an example of the output you can expect from running this command:

+----------------+---------------------------+--------------------+-------+
|  Region Name   |          Location         | Availability Zones | Count |
+----------------+---------------------------+--------------------+-------+
|   af-south-1   |     Africa (Cape Town)    |                    |       |
|   ap-east-1    |  Asia Pacific (Hong Kong) |                    |       |
| ap-northeast-1 |    Asia Pacific (Tokyo)   |      a, c, d       |   3   |
| ap-northeast-2 |    Asia Pacific (Seoul)   |     a, b, c, d     |   4   |
|   ap-south-1   |   Asia Pacific (Mumbai)   |      a, b, c       |   3   |
| ap-southeast-1 |  Asia Pacific (Singapore) |      a, b, c       |   3   |
| ap-southeast-2 |   Asia Pacific (Sydney)   |      a, b, c       |   3   |
|  ca-central-1  |      Canada (Central)     |      a, b, d       |   3   |
|  eu-central-1  |     Europe (Frankfurt)    |      a, b, c       |   3   |
|   eu-north-1   |     Europe (Stockholm)    |      a, b, c       |   3   |
|   eu-south-1   |       Europe (Milan)      |                    |       |
|   eu-west-1    |      Europe (Ireland)     |      a, b, c       |   3   |
|   eu-west-2    |      Europe (London)      |      a, b, c       |   3   |
|   eu-west-3    |       Europe (Paris)      |      a, b, c       |   3   |
|   me-south-1   |   Middle East (Bahrain)   |                    |       |
|   sa-east-1    | South America (Sao Paulo) |      a, b, c       |   3   |
|   us-east-1    |  US East (North Virginia) |  a, b, c, d, e, f  |   6   |
|   us-east-2    |       US East (Ohio)      |      a, b, c       |   3   |
|   us-west-1    |   US West (California)    |        a, c        |   2   |
|   us-west-2    |      US West (Oregon)     |     a, b, c, d     |   4   |
+----------------+---------------------------+--------------------+-------+

Note: If a cell is empty, it means you are not opted into that region and therefore the information cannot be queried.

Additional Information

For more tools and utilities, check out our AWS Toolkit.


Release files for wolfsoftware.list-availability-zones 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wolfsoftware.list-availability-zones 0.1.2
File Size Uploaded
wolfsoftware_list_availability_zones-0.1.2.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wolfsoftware.list-availability-zones 0.1.2
File Interpreter ABI Platform
wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / wolfsoftware_list_availability_zones-0.1.2.tar.gz

Download URL wolfsoftware_list_availability_zones-0.1.2.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a51a88a0b19e111c7385f2b3c20aff5870eac4efa7887b85548eeab2420ec4d1
BLAKE2b-256 checksum
How to use checksums
f319843ad513fae29a5214aa9e443e5351edd8e71c372ac029815d2131198020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl

Download URL wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fa000e93419305947d599a2a3954ac10a24d9315d8a5fe089761893252f1603
BLAKE2b-256 checksum
How to use checksums
2ec1d4dd36c883007229e7344fba987ac8baad7d1a819d302f200edba9f89ca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page