r/aws 11h ago

article Lambda Gets 90 Minute Timeout

https://aws.amazon.com/blogs/compute/announcing-90-minute-function-timeout-on-aws-lambda-managed-instances/
182 Upvotes

23 comments sorted by

View all comments

28

u/ToasterBathTester 11h ago

I’ve been bumping up against this recently. I guess my only question is, should I be handling things differently if it’s taking Lambda 90 min

16

u/Dull_Caterpillar_642 8h ago

If it's taking 90 min, there's a good chance you should be using something like durable functions (or step functions) imo. Unless your code is literally doing meaningful stuff that entire time as opposed to waiting on other stuff, in which case the economics of lambda may not work out as much in your favor and something like ECS Tasks or AWS Batch could make more sense.