→ Back to Home
Serverless

AWS Lambda Extends Timeout to 90 Minutes on Managed Instances, Reshaping Batch and AI Pipelines

AWS has expanded execution limits for AWS Lambda, introducing a 90-minute function timeout for asynchronous invocations and Event Source Mapping (ESM) when running on Lambda Managed Instances (LMI). Synchronous request-response invocations remain capped at the historical 15-minute ceiling, and the extended execution window is supported across all AWS regions where Managed Instances are available. This update fundamentally changes workload viability on serverless compute. For a decade, the 15-minute timeout served as the primary boundary dividing serverless functions from container orchestration platforms like Amazon ECS, AWS Batch, or Kubernetes. Data engineers handling heavy transformations, media processing pipelines, and AI practitioners running multi-step agent workflows or long inference loops frequently had to re-architect systems solely to avoid timing out. By sextupling the runtime allowance on managed capacity, AWS removes the structural need to break single cohesive processing tasks across multiple chained invocations or separate container infrastructures. The move aligns directly with the convergence of serverless abstractions and sustained enterprise compute. As enterprise architectures embrace generative AI and heavy data orchestration, cloud vendors are expanding serverless boundaries to accommodate larger payloads and longer execution lifecycles. By integrating extended execution with Lambda durable functions—which can coordinate distributed multi-step tasks across up to a year—AWS is positioning the Lambda ecosystem as a comprehensive compute substrate capable of orchestrating both microsecond event triggers and sustained compute tasks. In practice, engineering teams should evaluate where complex architectural splitting can now be consolidated into simpler asynchronous functions. However, adopting a 90-minute timeout requires operational vigilance. Longer-running handlers introduce higher failure blast radiuses; a crash at minute 85 could result in costly retries unless robust checkpointing and idempotency patterns are implemented. Additionally, developers must reconfigure downstream visibility timeouts on services like Amazon SQS and adjust retry limits to prevent queue message duplication during lengthy processing cycles.
#aws lambda#serverless#cloud computing#event driven#devops
Read original source