PLATFORMS Signal 469
AWS Lambda Increases Timeout to 90 Minutes for Managed Instances
AWS Lambda now allows functions running on Lambda Managed Instances to run for up to 90 minutes, six times longer than the previous 15-minute limit
The increased timeout allows for longer-running workloads, such as media processing and data processing, to be handled by AWS Lambda, further blurring the line between serverless and traditional servers. This change can simplify deployments and reduce the need for workarounds. However, it may also encourage fragile and costly patterns if not used carefully.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
AWS Lambda's timeout for Managed Instances has increased from 15 minutes to 90 minutes
The increased timeout is supported in all regions where Lambda Managed Instances are available
Developers need to ensure connections and credentials remain valid for the full runtime and design operations to safely handle retries and duplicate processing
THE READ
What the cluster adds up to.
The increase in timeout allows AWS Lambda to handle longer-running workloads, which can simplify deployments and reduce the need for workarounds. This change can be particularly beneficial for use cases such as media processing, financial calculations, and data processing, where jobs can exceed 15 minutes of continuous execution.
However, the increased timeout also requires extra care with network connections, temporary credentials, and duplicate execution. Developers need to ensure that connections and credentials remain valid for the full runtime and design operations to safely handle retries and duplicate processing. This can be achieved by using tools such as Powertools for AWS Lambda to implement idempotency in function code.
The community reaction to the increased timeout has been mostly positive, but some warn that it might encourage fragile and costly patterns. It is essential for developers to carefully consider the economics of using AWS Lambda for long-running workloads and to evaluate alternative options, such as ECS Tasks or AWS Batch, if necessary. The increased timeout is supported in all regions where Lambda Managed Instances are available, and it is also supported by Graviton5-powered EC2 instances.
Written by elseif from the cluster below · checked for specifics the sources never containedTHE CLUSTER
↗