Generate a table of the availability zones your account is using.
Project description
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.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file wolfsoftware_list_availability_zones-0.1.2.tar.gz
.
File metadata
- Download URL: wolfsoftware_list_availability_zones-0.1.2.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51a88a0b19e111c7385f2b3c20aff5870eac4efa7887b85548eeab2420ec4d1 |
|
MD5 | 10caaeb5274e8ddb9631a0cdf862e7bd |
|
BLAKE2b-256 | f319843ad513fae29a5214aa9e443e5351edd8e71c372ac029815d2131198020 |
File details
Details for the file wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa000e93419305947d599a2a3954ac10a24d9315d8a5fe089761893252f1603 |
|
MD5 | dd14f0a236e32683fdbab16c08011ab5 |
|
BLAKE2b-256 | 2ec1d4dd36c883007229e7344fba987ac8baad7d1a819d302f200edba9f89ca1 |