How do I find Availability Zones that I can use to launch resources in my account?

2 minute read
0

I want to find Availability Zones (AZ) that I can use to launch resources in my AWS account.

Short description

Unless your instance was in an Availability Zone before the zone was constrained, you can't launch an instance in a constrained Availability Zone. Also, constrained Availability Zones might be removed from the list of AZs for new accounts. If Availability Zones are removed, then your account has fewer available zones than what's listed. And, one of your accounts has a different number of available AZs in an AWS Region.

Note: When an Availability Zone is marked as constrained and removed from the list of AZs in your account, only the remaining AZs are available to launch resources. You can't use Amazon Elastic Compute Cloud (Amazon EC2) APIs to turn on constrained Availability Zones.

To find Availability Zones that are available to launch resources for any of your accounts, use either the Amazon EC2 console, or AWS Command Line Interface (AWS CLI).

Resolution

Use the Amazon EC2 console

Complete the following steps:

  1. Open the Amazon EC2 console.
  2. Choose a Region in the Region selector.
  3. In the navigation pane, choose EC2 Dashboard.
  4. In the Service Health section, view the list of AZs under Availability Zone Status.

Use the AWS CLI

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

To generate a list of Availability Zones that are available to launch resources for your account, run the following command:

Note: Replace example-region with your Region.

aws ec2 describe-availability-zones --region example-region

Related information

Availability Zones

AWS OFFICIAL
AWS OFFICIALUpdated a year ago