Cloud Computing
AWS Lambda Extends Maximum Runtime to 30 Minutes, First Major Increase in Eight Years
AWS has lifted the timeout ceiling for on-demand Lambda functions from 15 to 30 minutes, opening the platform to longer-running workloads like AI agentic tasks and batch processing.
InfoQ
AWS has doubled the maximum timeout for its on-demand Lambda Event Functions from 15 to 30 minutes—a substantial change that takes effect immediately across all commercial regions at standard pricing with no opt-in required. The increase affects synchronous, asynchronous, and event source mapping invocations alike, marking the first adjustment to this limit since 2018.
A Long-Overdue Lift#
Lambda's timeout ceiling had remained static at 15 minutes for eight years. The service itself started with a 60-second maximum in 2014, then expanded to five minutes in 2015 before settling on 15 minutes in 2018. This latest revision suggests AWS recognizes that modern use cases—particularly agentic AI workflows, media transcoding, Monte Carlo simulations, and report generation—routinely exceed the previous boundary.
Updating a function's timeout is straightforward: set the value up to 1,800 seconds (30 minutes) via the AWS CLI or console, with the platform rejecting anything higher with a validation error.
Three Shapes, Three Different Limits#
The change slots into a broader restructuring of Lambda's architecture that AWS rolled out earlier this year. While on-demand Event Functions now reach 30 minutes, the ecosystem remains stratified: Web Functions continue to max out at 15 minutes, Lambda MicroVMs extend to eight hours, and Lambda Managed Instances allow 30 minutes for synchronous calls (with asynchronous invocations holding at 90 minutes).
The Hidden Dependencies#
Extending timeout creates ripple effects throughout the system. The most critical consideration: concurrency demand rises linearly with duration. A function running for 30 minutes instead of 15 at the same request rate will require twice the concurrent executions. A single request per second sustained over 30 minutes, for instance, needs 1,800 concurrent slots.
Beyond compute resources, related services impose their own constraints:
- SQS queues require a visibility timeout at least six times the function timeout—meaning three hours for a 30-minute function
- Kinesis and DynamoDB Streams process one batch per shard sequentially, so a slow function throttles the entire shard's throughput
- Amazon MQ, DocumentDB, and Kafka mappings created before November 19 remain capped at 14 minutes

