Amazon EMR
Management Guide

Throttling Errors

The errors "Throttled from Amazon EC2 while launching cluster" and "Failed to provision instances due to throttling from Amazon EC2" occur when Amazon EMR can not complete a request because another service has throttled the activity. Amazon EC2 is the most common source of throttling errors, but other services may be the cause of throttling errors. AWS service limits apply on a per-Region basis to improve performance, and a throttling error indicates that you have exceeded the service limit for your account in that Region.

Possible Causes

The most common source of Amazon EC2 throttling errors is a large number of cluster instances launching so that your service limit for EC2 instances is exceeded. Cluster instances may launch for the following reasons:

It is also possible that the frequency or type of API request being made to Amazon EC2 causes throttling errors. For more information about how Amazon EC2 throttles API requests, see Query API Request Rate in the Amazon EC2 API Reference.

Solutions

Consider the following solutions:

  • Create a support case to request a Service limit increase.

  • If you have clusters that launch on the same schedule—for example, at the top of the hour—consider staggering start times.

  • If you have clusters that are sized for peak demand, and you periodically have instance capacity, consider specifying automatic scaling to add and remove instances on-demand. In this way, instances are used more efficiently, and depending on the demand profile, fewer instances may be requested at a given time across an account. For more information, see Using Automatic Scaling in Amazon EMR.

On this page: