Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Create Role Rate exceeded

While creating a new IAM role I am getting Rate exceeded

I have around 215 roles for my AWS account. Is that a limit, if it is how can i increase it? if not a limit how I can resolve it? es

like image 803
Rajat jain Avatar asked Jun 12 '20 09:06

Rajat jain


People also ask

What is rate exceeded in AWS?

The Rate exceeded error occurs when API calls to an AWS service exceed the maximum allowed API requests, and the API calls are throttled. Generally, these errors are temporary and resolve themselves as the API calls lessen. To prevent Rate exceeded errors, you can: Implement exponential backoff.

How many IAM roles can I create without requesting AWS to increase the IAM limit?

IAM groups Create another IAM group. You can have up to 300 IAM groups per account. Attach the managed policy to the IAM user instead of the IAM group. You can attach up to 20 managed policies to IAM roles and users.

What is the limit of IAM role policy size?

You can add as many inline policies as you want to an IAM user, role, or group. But the total aggregate policy size (the sum size of all inline policies) per entity cannot exceed the following limits: User policy size cannot exceed 2,048 characters. Role policy size cannot exceed 10,240 characters.


2 Answers

There is wide spread issue in at AWS affecting IAM.

UPDATE:

[RESOLVED] Increased API Error Rates Between June 11 9:56 PM PDT and June 12 6:40 AM PDT, AWS IAM experienced increased error rates and latencies on the AWS IAM CreateRole and CreateServiceLinkedRoles APIs. The issue has been resolved and the service is operating normally.

From https://status.aws.amazon.com/:

Increased IAM API Error Rates

We have identified the root cause of the increased error rates and latencies on the AWS IAM CreateRole and CreateServiceLinkedRole APIs and are working towards resolution. Other AWS services such as AWS CloudFormation whose features require these actions may also be impacted. User authentications and authorizations are not impacted.

11:30 PM PDT We are investigating increased error rates and latencies on AWS IAM administrative APIs with potential impact in multiple regions. IAM role creation is impacted. Other AWS services whose features require these actions may also be impacted. User authentications and authorizations are not impacted.

Jun 12, 12:03 AM PDT We continue to investigate increased error rates and latencies on AWS IAM administrative APIs with potential impact in multiple regions. IAM role creation is impacted. Other AWS services like AWS CloudFormation whose features require these actions may also be impacted. User authentications and authorizations are not impacted.

Jun 12, 2:12 AM PDT We have identified the root cause of the increased error rates and latencies on the AWS IAM CreateRole and CreateServiceLinkedRole APIs and are working towards resolution. Other AWS services such as AWS CloudFormation whose features require these actions may also be impacted. User authentications and authorizations are not impacted.

Jun 12, 3:30 AM PDT We wanted to provide you with more details on the issue causing increased error rates and latencies on the AWS IAM CreateRole and CreateServiceLinkedRole APIs. While we have identified the root cause and are working towards resolution, with an issue like this, it is always difficult to provide an accurate ETA, but we expect to restore access to the CreateRole and CreateServiceLinkedRole APIs within the next several hours. We are working through the recovery process now and will continue to keep you updated if this ETA changes. IAM user authentications and authorizations are not impacted. Other AWS services like AWS CloudFormation whose features require these actions may also be impacted.

like image 182
Marcin Avatar answered Oct 19 '22 04:10

Marcin


I just got this error today. I have very few roles so was surprised. After reading this post I simply clicked the 'create role' button a few times and on the 4th attempt the role was created.

like image 45
Tom Avatar answered Oct 19 '22 05:10

Tom