Skip to main content

Generate a table of the availability zones your account is using.

Project description

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.


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

File details

Details for the file wolfsoftware_list_availability_zones-0.1.0.tar.gz.

File metadata

File hashes

Hashes for wolfsoftware_list_availability_zones-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a8d761a5f1e6e048002602e06acf297d28500e717703fb02e054538eda5aaa7
MD5 783f06c983e4418bfae5cdf7d4dd5a5b
BLAKE2b-256 5cbbee6b9d6d1bc0844637e23b68fe8d4760259e6b133618e8e589a312634bd8

See more details on using hashes here.

File details

Details for the file wolfsoftware.list_availability_zones-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wolfsoftware.list_availability_zones-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eea65b79edd9bbfb1aa66e18f1b8ec40ebd347c95c20b938f2dd391a06dfb5d1
MD5 616d0f9c998a6c6a8760952f975646af
BLAKE2b-256 b1da61f0a359b360563c569e183cab4b0a264ff4b178625fe1c6a1caf36d40ea

See more details on using hashes here.

Supported by

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