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

333
Vistas
How can I increase the execution time of aws lambda function more than 5 min?

I have lambda function that take more than 5 min to run. How can I increase the execution time of lambda function more than 5 min so my program can keep going?

END RequestId: 5b676871-1eef-1xex-bxxa-47xxxxad8d63

The last line show this in cloudwatch. It automatically end the request.

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

0

You cannot increase the runtime to more than 15 minutes.

The AWS Lambda limit page states the Function timeout is 900 seconds (15 minutes). If you need more than 15 minutes of execution time you have to look at other services. You could have a look if AWS Batch would suit your needs.

Updated: The limit was changed from 5 minutes to 15 minutes.

about 4 years ago · Santiago Trujillo Denunciar

0

Of course you can. My solution is:

  1. Track time elapse in your lambda function
  2. When it about to exceeds the limit, send a notification to SNS topic, then exit.
  3. Set the SNS topic as trigger to your lambda function.

Keep in mind lambda's original purpose is to run short task so it's better to keep your lambda function run within 15 mins.

about 4 years ago · Santiago Trujillo Denunciar

0

Now you can run AWS Lambda up to 15 minutes!

https://aws.amazon.com/about-aws/whats-new/2018/10/aws-lambda-supports-functions-that-can-run-up-to-15-minutes/

about 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