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 ?

preguntada hace un año407 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace un año
0
Respuesta aceptada

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.

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas