Not able to set the Lambda Provisioning causing error "unreserved account concurrency is 10"

0

We are facing the lambda cold start issues. We used java and kotlin to build our backend applications following the serverless and micro service approach to deploy the data services inside lambda and api composition for front end apps in another lambda. The front end request goes to API GW and then to API Composition Lambda and goes to other Data Lambdas.

In order to reduce the cold start, we are trying to use provisioned concurrency on our lambda. But When I tried to change the config for provisioned concurrency, I got the below error

“The maximum allowed provisioned concurrency is 0, based on the unreserved concurrency available (10) minus the minimum unreserved account concurrency (10).“

Pasted the screenshot for reference.

Enter image description here

Then I checked the configuration, it says the number of unreserved account concurrency is 10. Pasted the screenshot below for reference.

Enter image description here

Now I am stuck with not able to increase the unreserved account concurrency and not able to provision the lambda.

I didn't understand what is going wrong. Can some expert here explain, what I am missing here and help understand fix the issue ?

posta un anno fa407 visualizzazioni
2 Risposte
2

Hi,

Not a direct answer to above, but have you tried to use Snapstart instead? Could be an easier win than provisioned concurrency for cold start: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html

profile picture
ESPERTO
con risposta un anno fa
0
Risposta accettata

It looks like our account is created 4 months ago. Seems new account will have low values for the quota. After we raised the quota increase request from AWS console, the allocated number is increased. After the increase we are able to set the provisioned concurrency values.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande