question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment failed to Lambda concurrent executions limit

See original GitHub issue

Describe the bug Initial deployment of the MIE failed with the following error:

Resource handler returned message: “Specified ReservedConcurrentExecutions for function decreases account’s UnreservedConcurrentExecution below its minimum value of [50]. (Service: Lambda, Status Code: 400, Request ID: ca621951-bdba-4e26-9f5e-d7438ca65d9a)” (RequestToken: fb976251-30fa-4556-d1a7-a28941a31f7e, HandlerErrorCode: InvalidRequest)

To Reproduce Select eu-central-1 as region, deploy the MIE with the following parameters Screenshot 2022-04-11 at 11 16 33

Expected behavior The MIE deployment should have worked.

Please complete the following information about the solution:

  • Version: 4.0.1
Mappings:
  SourceCode:
    General:
      GlobalS3Bucket: "solutions-reference"
      RegionalS3Bucket: "solutions"
      CodeKeyPrefix: "aws-media-insights-engine/v4.0.1"
      TemplateKeyPrefix: "aws-media-insights-engine/v4.0.1"
      FrameworkVersion: "v4.0.1"

  • Region: eu-central-1
  • Was the solution modified from the version published on this repository? no
  • If the answer to the previous question was yes, are the changes available on GitHub?
  • Have you checked your service quotas for the sevices this solution uses? yes
  • Were there any errors in the CloudWatch Logs? no

Additional context The resource that results in this error is the WorkflowSchedulerLambda Screenshot 2022-04-11 at 13 47 47

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
aburkleaux-amazoncommented, Jun 3, 2022

Another user encountered this issue recently. I think it has to do with variation in the default limits of the AWS account. Their account had a default for lambda concurrent executions set to 100. In my account, the default limit is 1000. Changing the limit to 1000 resolved the rollback.

image

1reaction
ianwowcommented, May 31, 2022

@cremich Someone on the MIE gitter channel also encountered this issue. I think the following line could be causing this error:

https://github.com/aws-solutions/media-insights-on-aws/blob/42f24bd615c8e3f299edd9db1b55acddcdc6889e/deployment/media-insights-stack.yaml#L1346

I recommend removing that line and redeploying.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lambda quotas - AWS Documentation
Each instance of your execution environment can serve up to 10 requests per second. In other words, the total invocation limit is 10...
Read more >
Function concurrency limits and throttling in AWS Lambda
In AWS Lambda, a concurrency limit determines how many function invocations can run simultaneously in one region. Each region in your AWS ...
Read more >
The Everything Guide to Lambda Throttling, Reserved ...
However, AWS reserves 100 executions to the common pool at all times. So, if the account has a limit of 1000, the maximum...
Read more >
AWS: Specified ConcurrentExecutions for function decreases ...
This means you have reserved more capacity that your account/regional maximum. By default, Lambda allows you to have 1000 concurrent lambda ...
Read more >
AWS Lambda Concurrency - Lumigo
By default, AWS Lambda gives you a pool of 1000 concurrent executions per AWS account. All Lambda functions in this account share this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found