Skip to content

InsufficientInstanceCapacity: Low accelerated instances (g4, g5, g6) availability on eu-central-1 ?

0

As of last week, we are unable to bring up certain SageMaker endpoints in the eu-central-1 region due to InsufficientInstanceCapacity errors. We tried ml.g4dn.xlarge first but then other instances in the g4, g5 and g6 family. We have tried bringing up instances on multiple days of the last ~7 days.

Online resources point to three possible solutions:

  • different region
  • different instance types
  • capacity reservation

Unfortunately, we can not go to a different region for business / compliance reasons. We have tested most instance types but there seems to be fairly low availability across the board.

Before looking into capacity reservation, is this something that other people are seeing as well? Is there a way to understand what has caused this shortage and if it will eventually be resolved? Is there a way to see the availability of a certain instance type in a certain region?

asked a year ago1.1K views

1 Answer
0

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

answered a year ago

AWS
EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.