Skip to content

Issue with Starting g6.xlarge and g6e.xlarge EC2 Instance – Capacity Concern

-1

Hello,

We have been continuously facing an issue while starting the g6.xlarge and g6e.xlarge EC2 instances in our AWS account for the last three days (Hyderbad Region ap-south-2b/2a/2c). We are receiving the below message when attempting to start the instance. I am wondering whether this is actually a capacity issue or if there could be some other underlying problem, as we have been using the same instance type in this account for the past month without any issues. Could you please investigate and confirm the reason for this issue and whether it is related to AWS capacity constraints?

Failed to start the instance due to insufficient capacity. Amazon EC2 doesn't have capacity at this time to launch your instances. While we continuously manage and add capacity, availability of your preferred instance type in your preferred Availability Zone is not guaranteed.

asked a month ago177 views

3 Answers
1

The error message you're receiving indicates a genuine capacity constraint in the AWS infrastructure. When you see 'InsufficientInstanceCapacity,' it means that AWS does not currently have enough available On-Demand capacity in the specific Availability Zone(s) you're trying to launch your instances in to fulfill your request. This can happen even with instance types you've successfully used before, as capacity availability can shift over time based on overall demand in a region.

To work around this issue, you can try several approaches:

  1. Wait a few minutes and retry your request, as capacity can shift frequently
  2. Try launching your instances without specifying a specific Availability Zone, allowing AWS to place them where capacity is available
  3. Consider using a different but compatible instance type temporarily (you can resize later if needed)
  4. If you're trying to start multiple instances, try reducing the number in each request

For workloads that require guaranteed capacity, you might want to consider On-Demand Capacity Reservations, which allow you to reserve capacity in advance for specific instance types in specific Availability Zones. This ensures capacity is available when you need it, though it does require planning ahead.

The capacity constraint is a real infrastructure limitation rather than an account-specific issue. AWS continuously manages and adds capacity, but availability of specific instance types in specific Availability Zones cannot be guaranteed for On-Demand instances without a capacity reservation.
Sources
Troubleshoot Amazon EC2 instance launch issues - Amazon Elastic Compute Cloud
Troubleshoot Amazon EC2 Auto Scaling: EC2 instance launch failures - Amazon EC2 Auto Scaling

answered a month ago

EXPERT

reviewed a month ago

1

This is very likely a genuine capacity shortage, not a problem with your account. The InsufficientInstanceCapacity error means EC2 doesn't have free hosts of that type in that Availability Zone right now. Account limits produce different errors, such as VcpuLimitExceeded. GPU types like g6 and g6e are in high demand, and newer, smaller regions like Hyderabad have less spare capacity, so it can run out even when it was fine for weeks. AWS Support usually can't add capacity on request.

Why a stopped instance is especially affected

A stopped instance can only restart in the AZ where its EBS volumes live. Trying the other AZs doesn't help i-06fc6e2b135c1321d itself. You'd need a new instance created from it.

What you can do

  1. Move to an AZ with capacity. Create an AMI from the stopped instance, then launch a new instance from that AMI in ap-south-2a, 2b, or 2c, whichever succeeds. If you use a static IP, move the Elastic IP over.
  2. Be flexible on instance type. If your workload allows, try g6.2xlarge, g6e.2xlarge, g5.xlarge, or g4dn.xlarge. Larger sizes of the same family are sometimes available when the smallest isn't. An EC2 Fleet or Auto Scaling group with several instance types and all three AZs will take whatever's free.
  3. Retry at different times. Capacity changes throughout the day, and off-peak hours often succeed.
  4. Reserve capacity once you get it. Create an On-Demand Capacity Reservation for the type and AZ as soon as an instance launches. It holds that capacity for you, so stopping and starting doesn't put you back in the queue. You pay On-Demand rates for the reservation whether it's used or not.
  5. Avoid stop/start for now. If the instance is critical and you get it running, keep it running, or keep a capacity reservation behind it, until availability improves.
  6. Consider Mumbai (ap-south-1) as a fallback. It's a larger region and usually has more GPU capacity, if your latency and data-residency needs allow it.

To check which AZs and types are more likely to have capacity before you try, the EC2 console's Spot placement score tool gives a rough indication, even though it's built for Spot.

EXPERT

answered a month ago

EXPERT

reviewed a month ago

1

I suspect it may because AWS cannot currently allocate the requested GPU instance type (g6.xlarge or g6e.xlarge) in the Availability Zone you selected (ap-south-2a/2b/2c).

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html

EXPERT

answered a month 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.