Lambda's 30-Minute Timeout: A UK SRE Checklist Before You Raise It
AWS Lambda Event Functions can now run for 30 minutes on demand, double the old 15-minute ceiling. Before you bump every timeout to 1,800 seconds, here is what breaks: callers, SQS visibility, NAT idle timeouts, credentials, concurrency and retries.

AWS Lambda Event Functions can now run for 30 minutes on demand, double the old 15-minute ceiling. Before you bump every timeout to 1,800 seconds, here is what breaks: callers, SQS visibility, NAT idle timeouts, credentials, concurrency and retries.
- On 19 November 2026 AWS raised the on-demand Lambda Event Functions timeout to 30 minutes (1,800 seconds), including London and Ireland.
- It covers synchronous, asynchronous and event source mapping invocations at standard pricing.
- Lambda Managed Instances keep 90 minutes for async and ESM; Web Functions stay at 15 minutes.
- Synchronous callers apply their own timeouts; set SDK read timeouts longer than the function timeout.
- Set SQS visibility to at least six times the function timeout: 3 hours for 30 minutes.
- Amazon MQ, DocumentDB and older non-provisioned Kafka mappings remain capped at 14 minutes.
- NAT gateways drop idle connections after 350 seconds, so long calls need keep-alives.
- Double the duration means double the concurrency at the same request rate: plan quotas and idempotency.
What changed
On 19 November 2026 AWS doubled the Lambda timeout for on-demand Event Functions from 15 to 30 minutes (1,800 seconds). It applies to synchronous, asynchronous and event source mapping (ESM) invocations, in all commercial Regions (so eu-west-2 London and eu-west-1 Ireland), at standard Lambda pricing.
The full picture after this launch:
| Form factor | Without durable execution | With durable execution |
|---|---|---|
| Event Functions, on demand | 30 min sync / async / ESM | Async execution up to 1 year; sync and ESM 30 min |
| Event Functions, Lambda Managed Instances | Sync 30 min; async and ESM 90 min | Async up to 1 year; sync 30 min; ESM 90 min |
| Web Functions | 15 min | n/a |
| MicroVMs | 8 hours (running and suspended) | n/a |
The Init phase limits do not change (10 seconds on demand), and the new value only applies to invocations that start after you update the function.
Why UK teams should care
For eight years, 15 minutes was the line that pushed work into ECS tasks, Batch or Step Functions. Plenty of UK workloads sat just over it: month-end report generation, large file conversions, overnight risk and pricing runs, ETL steps fired from S3 or SQS, and now agent requests that chain several model and tool calls. Some of those can come back to a single function. But a longer timeout widens every failure window too, so treat it as a design change, not a config tweak.
The checklist before you raise a timeout
1. Check the caller's timeout first. If another AWS service invokes your function synchronously, that service applies its own timeout. Your function can run for 30 minutes and the caller can still give up long before. Set SDK read and socket timeouts longer than the function timeout when you call Invoke yourself.
2. Fix SQS visibility. AWS's guidance is a queue visibility timeout of at least six times the function timeout: 3 hours for a 30-minute function. Lambda checks this when you create the mapping, but not when someone later changes the queue or the function. Add a policy-as-code check in your pipeline.
3. Know the exceptions. Amazon MQ and DocumentDB mappings stay at 14 minutes, as do Kafka mappings created before 19 November 2026 that are not in provisioned mode. Recreate the mapping or enable provisioned mode to get 30 minutes; otherwise keep the function at 840 seconds or less.
4. Watch your streams. Kinesis and DynamoDB Streams process one batch per shard at a time by default, so longer invocations slow the shard. Alarm on IteratorAge, raise the parallelisation factor if it climbs, and turn on partial batch failure reporting so a late failure does not replay the whole batch.
5. Do the concurrency maths. Concurrency is requests per second times average duration. One request per second at 30 minutes needs 1,800 concurrent executions. Check account quotas and reserved concurrency before a backlog turns into throttling.
6. Keep connections alive. A NAT gateway drops idle connections after 350 seconds. Long calls to databases or external APIs through NAT need keep-alives, and long synchronous callers should enable TCP keep-alive too. Check idle timeouts on RDS, ElastiCache and third-party APIs, and set a short DNS TTL (AWS suggests 5 seconds for the JVM).
7. Make credentials outlast the job. Any token or temporary credential your code fetches must stay valid for the full run, or be refreshed in the background.
8. Make it idempotent. Lambda is at-least-once. A longer run means a bigger window for retries and duplicates. Use idempotency keys for payments and database writes. If re-running is expensive, pair the timeout with durable functions: a 25-minute job that fails at minute 22 resumes from its last checkpoint instead of starting again.
A sensible rollout
- Inventory functions that sit near 15 minutes or that you split purely to dodge the limit.
- Raise timeouts per function, with a reason in the change record, never as a blanket default.
- Load test with production-sized inputs and watch duration, concurrency, throttles and downstream connection errors.
- Update runbooks and alarms so the on-call team knows a 25-minute invocation is now normal for that function.
- Review the bill after a month: duration is what you pay for.
My view
This is a welcome change that will let some teams delete glue code. The trap is the knock-on settings around the function: callers, queues, NAT, credentials and retries. Get those right per workload and 30 minutes is a genuine simplification. Raise it everywhere at once and you will meet the problems at 3am.
A welcome change that will let teams delete glue code, but the trap is the settings around the function: callers, SQS visibility, NAT idle timeouts, credentials and retries. Raise timeouts per workload with evidence, never as a blanket default.
