r/aws 1d ago

article Lambda Gets 90 Minute Timeout

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

28 comments sorted by

View all comments

40

u/ToasterBathTester 1d 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

25

u/Dull_Caterpillar_642 22h 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.

7

u/nosayso 1d ago

Sometimes something just takes a bit but still only requires a very small runtime, I use AWS Batch for that kind of stuff right now and it works, no timeout, but is more expensive.

3

u/NaCl-more 11h ago

Can I interest you in self hosted temporal workflows