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.