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

已提問 2 年前檢視次數 1086 次
2 個答案
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
已回答 2 年前
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
已回答 2 年前
  • Thank you. We will give it a shot.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南