I want to control the lambda concurrency, and set the concurrency limit to exactly 1( i.e. only 1 instance of the my lambda should run).
How can i achieve this?
I tried to edit the concurrency in aws management console and set Reserve concurrency to 1 but getting the error The unreserved account concurrency can't go below 10.
2
Answers
I raised a quota increase request for concurrency and this solves the problem. My unreserved account concurrency shows 100 and now I can limit my lambda concurrency to 1
as mention in aws documentation for Configuring reserved concurrency:
in your aws account seems the unreserved limit is 10.
You have to open a request to aws support and ask to increase lambda concurrency to a number higher than 10, so you can set reserved concurrency for certain lambda functions in your account.