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

posta 2 anni fa1086 visualizzazioni
2 Risposte
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
con risposta 2 anni fa
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
con risposta 2 anni fa
  • Thank you. We will give it a shot.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande