skip to Main Content

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.enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    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


  2. as mention in aws documentation for Configuring reserved concurrency:

    You can reserve up to the Unreserved account concurrency value that is
    shown, minus 100 for functions that don’t have 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search