Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

829
Vistas
AWS Lambda: The function is idle

I am studying Lambdas of my project and I've seen that one of them is idle. In the top of dashboard page I see block with text:

The function __ is idle. To reactivate your function, choose Restore.

I slightly confused of it because this function is very similar to others which isn't marked as idle but as well haven't been launched for couple of months. Since I haven't find answers in AWS documentation i'd appreciate somebody to explain me what difference between functions in idle state and not, and how/why function becomes Idle?

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

It is related to VPC, please check this doc.

If your functions aren't active for a long period of time, Lambda reclaims its network interfaces, and the functions become Idle. To reactivate an idle function, invoke it. This invocation fails, and the function enters a Pending state again until a network interface is available.

https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html

over 4 years ago · Santiago Trujillo Denunciar

0

Instead of a Cloudwatch event, I would suggest using Provisioned Concurrency to keep a lambda(s) warm.

https://aws.amazon.com/about-aws/whats-new/2019/12/aws-lambda-announces-provisioned-concurrency/

over 4 years ago · Santiago Trujillo Denunciar

0

You will need to invoke functions often using cloudwatch events regularly if you want your Lambda functions to stay alive & warm. Otherwise they will cool down as @Traycho Ivanov says.

Setup up cloudwatch events to invoke the Lambdas you need alive every so often, but how often is a bit debated it's not clear how AWS manages this and this could easily be changed into the future that your event is not frequent enough, or maybe it is too frequent costing you a couple more cents than you would otherwise want!

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda