- Newest
- Most votes
- Most comments
The "InsufficientInstanceCapacity" error you're encountering with GPU instances (g4, g5, g6) in eu-central-1 is a common issue that occurs when AWS doesn't have enough available on-demand capacity to fulfill your request for those particular instance types in the specified region.
This situation is more common with specialized instance types like GPU instances, as they have more limited availability compared to general-purpose instances. The error indicates a temporary lack of available hardware resources on AWS's end, not a problem with your account or permissions.
Unfortunately, AWS does not publicly disclose the exact quantity of instances available in each Availability Zone, making it difficult to determine the precise availability of specific instance types. You can use the AWS CLI command aws ec2 describe-instance-type-offerings --region [your-region] --location-type availability-zone --filters "Name=instance-type,Values=[instance-type]" --output text to check if a particular instance type is available in a specific AZ, but this won't provide the exact count of available instances.
Since you've already tried different instance types and can't change regions due to business/compliance reasons, your best option is likely to use Reserved Instances or Amazon EC2 On-Demand Capacity Reservations to proactively reserve instance capacity. This is considered a best practice for production or time-sensitive environments to avoid deployment failures during capacity shortages.
The shortage could be due to increased demand for GPU instances in that region, perhaps related to the growing popularity of AI/ML workloads. AWS continuously monitors and adjusts capacity to meet customer demand, but temporary constraints can occur. There's no definitive way to know when the capacity issue will be resolved as it depends on AWS's capacity planning and the overall demand in the region.
Another approach you might consider is to spread your workload across multiple Availability Zones within eu-central-1, as capacity constraints might not affect all AZs equally.
Sources
aws ap-northeast-1 gpu instance is not work!!! help | AWS re:Post
Troubleshoot Amazon EC2 instance launch issues - Amazon Elastic Compute Cloud
Resolve "InsufficientInstanceCapacity" error in OpenSearch Service | AWS re:Post
How to understand available EC2 instances count in specific AZ | AWS re:Post
Relevant content
asked a year ago
