- Newest
- Most votes
- Most comments
You specify the upper limit for vCPUs in your compute environment. There is no guarantee that it can scale to that, though. Availability of instances in the AZs of the region you've selected, Service Limits or available IP addresses in your subnets could e.g. be a limit in your case.
Have you checked your account's Service Quotas? You will find limits on number of spot requests as well as number of running EC2 instances for instance families in your account. Please find information on how to access to your Service Quotas and how to increase them here: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
I take from your description, that you specify the instance family to be either m4 or r4. If your containers are flexible to run on multiple instance types, you should follow AWS' best practices for Spot and diversify the Compute Environment. AWS Batch e.g. offers the 'optimal' preset already, that will choose instances from the m- and c-family.
Relevant content
- asked 4 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 15 days ago
Thanks for your response. I will have a look at the service limits. I'm pretty sure that a few weeks ago I was seeing much higher number of spot instances being used, and nothing was changed on the limit side.
Is there any way to "see" availability of instances of any particular type in the AZs at any one time? (to allow me to compare what my account is using, and what's generally available "out there"?
As for instance type, I am already using "optimal". I was just mentioning m4 and r4 as instance types I was seeing being used.
No, it is unfortunately not possible to see available capacity for AWS regions and AZs.