- Newest
- Most votes
- Most comments
Hello.
Since that error is a capacity problem on the AWS side rather than an EC2 quota, I think that in order to avoid it from the user side, it is necessary to start it after a while or use a different instance type or availability zone.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-instancelaunchfailure.html#ts-as-capacity-1
Wait a few minutes for Amazon EC2 Auto Scaling to find capacity for this instance type in other enabled Availability Zones.
Expand your Auto Scaling group to additional Availability Zones. For more information, see Add and remove Availability Zones.
Follow the best practice of using a diverse set of instance types so that you're not reliant on one specific instance type. For more information, see Auto Scaling groups with multiple instance types and purchase options.
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 3 years ago

Thanks for your reply! Do you mean that the instance pool of g5 type in current avaliable zone was used up when I requested to create new instance? Actually we built similar cluster with g4dn instances and never encountered this problem, can we assume that there are more resource for g4dn than g5?