What happens to my existing provisioned instance when AWS runs out of instance capacity?

0

I am using the g4dn.xlarge instance types (on-demand), distributed across the AZs: us-east-1a,us-east-1b,us-east-1c,us-east-1d,us-east-1f. They work fine until one fine evening I cannot power on any of these instance types and get a message via the API: "Temporary insufficient AWS capacity for instance type g4dn.xlarge in the following zones: us-east-1a,us-east-1b,us-east-1c,us-east-1d,us-east-1f"

I am not using any Capacity reservations here. I would like to know if these instance types were given to someone else when I tried to power them on? How does this works as I see this issue recovers on its own?

posta 2 anni fa262 visualizzazioni
1 Risposta
3
Risposta accettata

When you stop an EC2 instance you free up the compute capacity that was assigned to your instance for anyone else wanting to launch that type of instance in the particular AZ. This means that you will only be able to start a stopped instance if there is available on-demand capacity in the particular AZs.

As you've identified, unless you pay extra for a Capacity Reservation, I'm not aware that a stopped instance has any priority over available capacity when restarting.

You may find these help pages useful:

con risposta 2 anni fa

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