Deployment failed to Lambda concurrent executions limit
See original GitHub issueDescribe 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
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
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@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.