Spot Instance limits - Amazon Elastic Compute Cloud

Spot Instance limits

Spot Instance requests are subject to the following limits:

Spot request limits

By default, there is an account limit of 20 Spot Instances per Region. If you terminate your Spot Instance but do not cancel the request, the request counts against this limit until Amazon EC2 detects the termination and closes the request.

Spot Instance limits are dynamic. When your account is new, your limit might be lower than 20 to start, but can increase over time. In addition, your account might have limits on specific Spot Instance types. If you submit a Spot Instance request and you receive the error Max spot instance count exceeded, you can complete the AWS Support Center Create case form to request a Spot Instance limit increase. For Limit type, choose EC2 Spot Instances. For more information, see Amazon EC2 Service Quotas.

Spot Fleet limits

The usual Amazon EC2 limits apply to instances launched by a Spot Fleet or an EC2 Fleet, such as Spot request price limits, instance limits, and volume limits. In addition, the following limits apply:

  • The number of active Spot Fleets and EC2 Fleets per Region: 1,000*

  • The number of launch specifications per fleet: 300*

  • The launch template plus number of overrides per fleet: 300*

  • The size of the user data in a launch specification: 16 KB*

  • The target capacity per Spot Fleet or EC2 Fleet: 10,000

  • The target capacity across all Spot Fleets and EC2 Fleets in a Region: 100,000

  • A Spot Fleet request or an EC2 Fleet request can't span Regions.

  • A Spot Fleet request or an EC2 Fleet request can't span different subnets from the same Availability Zone.

If you need more than the default limits for target capacity, complete the AWS Support Center Create case form to request a limit increase. For Limit type, choose EC2 Fleet, choose a Region, and then choose Target Fleet Capacity per Fleet (in units) or Target Fleet Capacity per Region (in units), or both.

* These are hard limits. You cannot request a limit increase for these limits.

T3 Spot Instances

If you plan to use your T3 Spot Instances immediately and for a short duration, with no idle time for accruing CPU credits, we recommend that you launch your T3 Spot Instances in standard mode to avoid paying higher costs.

If you launch your T3 Spot Instances in unlimited mode and burst CPU immediately, you'll spend surplus credits for bursting. If you use the instance for a short duration, your instance doesn't have time to accrue CPU credits to pay down the surplus credits, and you are charged for the surplus credits when you terminate your instance.

Unlimited mode for T3 Spot Instances is suitable only if the instance runs for long enough to accrue CPU credits for bursting. Otherwise, paying for surplus credits makes T3 Spot Instances more expensive than M5 or C5 instances. For more information, see When to use unlimited mode versus fixed CPU.

T2 Spot Instances

Launch credits are meant to provide a productive initial launch experience for T2 instances by providing sufficient compute resources to configure the instance. Repeated launches of T2 instances to access new launch credits is not permitted. If you require sustained CPU, you can earn credits (by idling over some period), use T2 Unlimited, or use an instance type with dedicated CPU (for example, c4.large).