AWS Lambda functions can run up to 15 minutes

Difference between Office365 vs Office 2019 and why Office365 is best
October 10, 2018
How to add multiline shell command in entrypoint of docker-compose file
October 16, 2018

AWS Lambda functions can run up to 15 minutes

Just woke up today with great new from AWS

AWS Lambda enables functions that can run up to 15 minutes”

Yes, as per the new announcement we can now configure lambda to run up to 15 minutes(timeout).

I quickly checked for my existing lambda in EU Frankfurt region and yes, it’s enabled and working.

This was a long-awaited feature for many of us. With it, it’s easier to perform big data analysis, bulk data transformation, batch event processing, and statistical computations or any worker processing using long running functions.

We can now set the timeout for a lambda function to any value <= 15 minutes. When the given timeout is reached, AWS Lambda terminates execution of Lambda function. As a best practice, we should set the timeout based on our expected execution time to prevent the lambda function from running longer than intended. It will save the cost as well as keep the performance up to the mark.

This feature is available in all regions where AWS Lambda is available.


If 15 minutes is still lesser than expected, then you can leverage below services instead of Lambda. But you need to custom build all the setup.

1. AWS Step Functions
2. AWS ECS Docker