Cannot set reserve concurrency for a lambda function

0

The Unreserved account concurrency of my account is 100

I have four lambda function in eu-central-1 and I want to limit the concurrency of one of them to a very small value. Specifically, I do not want more than 3 instances of this function running concurrently. This function is not expected to receive a lot of traffic so setting its Reserve concurrency to a low value makes a lot of sense.

However, when I try to do I get a rejection message as follows: The unreserved account concurrency can't go below 100. (see attached screenshot).

What should I do to be able to restrict the concurrency of this function?

Enter image description here

imaman
質問済み 2年前1240ビュー
2回答
1

Lambda provisioned concurrency can be reserved up to 100 less than the number of unreserved account concurrencies. [1]

[1] Managing Lambda reserved concurrency - AWS Lambda
https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html

Therefore, to set the provisioned concurrency to 3, the account concurrency must be greater than 103.

The concurrency limit can be requested via service quotas. [2]

[2] AWS service quotas - AWS General Reference
https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html

profile picture
mn87
回答済み 2年前
  • Provisioned concurrency and reserved concurrency are different things. I believe you intended to say Reserved Concurrency and not Provisioned Concurrency

1

You have to leave a minimum of 100 for lambda functions in an account that don't have reserved concurrency - https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html that mentions "You can reserve up to the Unreserved account concurrency value that is shown, minus 100 for functions that don't have reserved concurrency."

You have to request an increase in the account concurrency to a number higher than 100, so you can set reserved concurrency for certain lambda functions in your account.

profile pictureAWS
エキスパート
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ