Check instance capacity

0

Is it possible to check how much instance capacity exists for a given region and AZ?

Use case: trying to determine the best instance types to choose to have the highest likelihood of reservation success.

Reduce seeing this: X instance is out of capacity for y availability zone in us-west-2

asked 2 years ago928 views
2 Answers
1

Hi

It is not possible to check how much instance capacity exists for a given region and AZ on your end as this is internal information.

please consider reaching to AWS Support [1] for further assistance on this issue.

Reference link 1.AWS support- https://aws.amazon.com/contact-us/

steven
answered 2 years ago
0

How about using describe-capacity-reservations command?

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-capacity-reservations.html

AvailableInstanceCount -> (integer)

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

Filtering with --filters AZ is also available.

shimo
answered 2 years ago
  • Thank you. We will give it a shot.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions