My Amazon EMR cluster fails to launch, and I get one of the following error messages:

  • "EC2 is out of capacity"
  • "The requested number of instances exceeds your EC2 quota"

"EC2 is out of capacity"

This error occurs when AWS does not have enough available On-Demand capacity to create the Amazon Elastic Compute Cloud (Amazon EC2) instances that you specified for your Amazon EMR cluster. To resolve the issue, try the following:

  • Specify a different instance type for your Amazon EMR cluster. A different instance type might have more available capacity.
  • Launch your cluster in a different Availability Zone. Each Availability Zone has its own capacity.
  • Wait a few minutes, and then try to launch the Amazon EMR cluster again. Capacity can shift frequently.

"The requested number of instances exceeds your EC2 quota"

This error occurs if the number of instances specified for your Amazon EMR cluster causes you to exceed an EC2 service limit. To view your EC2 service limits, choose Limits on the navigation pane of the EC2 console.

Keep the following in mind:

  • EC2 service limits are unique to each Region.
  • Only running instances count toward your service limits.
  • In addition to the limit on the total number of running instances, each instance type has its own limit. For example, you might be limited to 10 running a1.4xlarge instances and 20 total running instances in US East (N. Virginia).

If you need more EC2 resources, request a service limit increase. Requests are subject to review by AWS engineering teams.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2019-01-16