Spot Instance quotas - Amazon Elastic Compute Cloud

Spot Instance quotas

There are quotas for the number of running Spot Instances and pending Spot Instance requests per AWS account per Region. After a pending Spot Instance request is fulfilled, the request no longer counts towards the quota because the running instance is counted towards the quota.

Spot Instance quotas are managed in terms of the number of virtual central processing units (vCPUs) that your running Spot Instances are either using or will use pending the fulfillment of open Spot Instance requests. If you terminate your Spot Instances but do not cancel the Spot Instance requests, the requests count against your Spot Instance vCPU quota until Amazon EC2 detects the Spot Instance terminations and closes the requests.

We provide the following quota types for Spot Instances.

Name Default Adjustable
All DL Spot Instance Requests 0 Yes
All F Spot Instance Requests 0 Yes
All G and VT Spot Instance Requests 0 Yes
All Inf Spot Instance Requests 0 Yes
All P4, P3 and P2 Spot Instance Requests 0 Yes
All P5 Spot Instance Requests 0 Yes
All Standard (A, C, D, H, I, M, R, T, Z) Spot Instance Requests 5 Yes
All Trn Spot Instance Requests 0 Yes
All X Spot Instance Requests 0 Yes

Even though Amazon EC2 automatically increases your Spot Instance quotas based on your usage, you can request a quota increase if necessary. For example, if you intend to launch more Spot Instances than your current quota allows, you can request a quota increase. You can also request a quota increase if you submit a Spot Instance request and you receive the error Max spot instance count exceeded. To request a quota increase, use the Service Quotas console described in Amazon EC2 service quotas.

You can launch any combination of instance types that meet your changing application needs. For example, with an All Standard Spot Instance Requests quota of 256 vCPUs, you could request 32 m5.2xlarge Spot Instances (32 x 8 vCPUs) or 16 c5.4xlarge Spot Instances (16 x 16 vCPUs).

With Amazon CloudWatch metrics integration, you can monitor EC2 usage against your quotas. You can also configure alarms to warn about approaching quotas. For more information, see Service Quotas and Amazon CloudWatch alarms in the Service Quotas User Guide.