
AWS Lambda doubles its maximum timeout to 30 minutes
After eight years at 15 minutes, on-demand Event Functions can run for up to 30 minutes, at standard Lambda pricing.
1 min readby Platform Rocks
AWS Compute Blog / InfoQ
On Nov 19, AWS raised the timeout of on-demand Lambda Event Functions to 30 minutes (1,800 seconds) for synchronous, asynchronous and event source mapping invocations. The limit had been 15 minutes since 2018.
- How: change the function timeout (console, CLI, or
Timeoutin SAM). It applies to invocations that start after the change, in all commercial Regions, at standard Lambda pricing. - Watch out: twice the duration needs twice the concurrency; the SQS visibility timeout should be at least six times the function timeout (3 hours); NAT gateways drop idle connections after 350 seconds.
- Exceptions: Amazon MQ, DocumentDB, and Kafka mappings created before Nov 19 without provisioned mode stay at 14 minutes.
Sources: AWS Compute Blog · InfoQ
Cover: Amazon AWS us-west-2 beach AZ photo by Tedder, CC BY-SA 4.0, via Wikimedia Commons, cropped; this cover is also CC BY-SA 4.0.