The Short Answer
AWS Lambda Event Functions that run on demand can now execute for up to 30 minutes (1,800 seconds), double the 15-minute ceiling that had stood since 2018. The change, announced November 19, 2026, covers synchronous, asynchronous, and event source mapping (ESM) invocations in all commercial AWS Regions at standard Lambda pricing — no opt-in, no new meter. Synchronous invocations on Lambda Managed Instances also get 30 minutes; asynchronous and ESM invocations there keep the 90-minute limit launched in September 2026. Documentation and prices below were checked on November 28, 2026.
The headline is simple; the engineering is not. A longer timeout doubles the concurrency you need at the same request rate, pushes the required SQS visibility timeout to at least three hours, and does nothing about the timeouts of whatever calls your function. It also sharpens the oldest serverless-versus-server question: at what point does a function that runs half an hour at a time stop being cheaper than a small VPS that never sleeps? Below: exactly what changed, the arithmetic at list price, and the six checks to run before you type --timeout 1800.
What AWS Changed on November 19
Lambda’s timeout history is short. It launched in 2014 at 60 seconds, rose to 5 minutes in 2015, then to 15 minutes in 2018 — where it sat for eight years. The November 19 launch raises the maximum configurable timeout for on-demand Event Functions to 1,800 seconds. The default is unchanged, and Lambda rejects any value above 1,800 with a validation error. Your function runs exactly as before — same runtime, handler, IAM execution role, and VPC configuration; only the ceiling moves.
Understanding the launch requires Lambda’s newer vocabulary. Lambda now has three form factors. Event Functions are the original event-driven type, invoked synchronously, asynchronously, or through event source mappings from more than 200 AWS event sources. Web Functions run HTTP servers with a multi-concurrent programming model. MicroVMs give each user or session an isolated environment for user-generated or AI-generated code, the primitive behind the agent sandboxes covered in Lambda durable functions orchestrating MicroVMs. Each form factor has its own duration limit, and only Event Functions moved.
AWS names the target workloads plainly: agentic AI requests that chain model calls and tool invocations past 15 minutes, media transcoding and file conversion on large inputs, financial calculations such as Monte Carlo simulations and portfolio risk analysis, report generation across multiple data sources, and ETL steps triggered by SQS or S3 events. The common thread is spiky traffic that does not justify steady-state capacity — the workloads that previously needed architectural workarounds like splitting a job across invocations or moving it to a container.
| Form factor | Maximum duration | Notes |
|---|---|---|
| Event Functions, on demand | 30 minutes (sync, async, ESM) | Was 15 minutes; all commercial Regions |
| Event Functions, Managed Instances | 30 min sync; 90 min async/ESM | 90-minute async/ESM limit from September 2026 |
| Web Functions | 15 minutes | Unchanged by this launch |
| MicroVMs | 8 hours (running and suspended) | Unchanged by this launch |
| Durable executions (async) | Up to 1 year total | Each invocation inside still capped at 30 or 90 min |
Two interactions deserve emphasis. First, the 30 minutes applies inside Lambda durable functions and when Step Functions Standard workflows invoke a function. Durable functions add checkpointing on top: the function timeout caps each individual invocation, while a separate durable execution timeout caps total elapsed time — up to one year for asynchronous invocations. A 25-minute inference run that fails at minute 22 restarts from zero without checkpoints, but resumes from its last checkpoint with them. Second, the new timeout applies only to invocations that start after you update the configuration, and event source mappings can take a few minutes to pick it up.
The Math: What 30 Minutes Costs
Prices below are US East (N. Virginia) list prices from the AWS Lambda pricing page, checked November 28, 2026. Event Functions bill $0.20 per million requests plus duration at $0.0000166667 per GB-second on x86 in the first pricing tier, with a monthly free tier of 1 million requests and 400,000 GB-seconds. Memory is configurable from 128 MB to 10,240 MB, and you pay for the memory you configure, not the memory your code uses. Arm functions are priced lower per GB-second than x86 on the same page; the worked examples here use x86 so every figure traces to one verified rate.
One full-length invocation is cheap. Thirty minutes at 1 GB is 1,800 GB-seconds, or $0.03. At 2 GB it is $0.06; at 4 GB, $0.12; at the 10,240 MB maximum, about $0.30. The free tier alone covers 222 full 30-minute invocations a month at 1 GB (400,000 ÷ 1,800), or 111 at 2 GB. For a nightly report, a weekly transcode, or an inference job that fires a few times a day, the doubled timeout costs almost nothing: one 2 GB run a day is $1.80 a month.
The picture inverts when the function never stops. Back-to-back 30-minute invocations at 2 GB cost 48 × $0.06 = $2.88 a day, roughly $86.40 in a 30-day month — for 2 GB of memory with proportional CPU. At 1 GB continuous, the figure is about $43.20 a month. A small VPS with 2 GB of RAM typically costs single-digit dollars a month and runs all 720 hours. These are arithmetic scenarios from list prices, not measured bills, but the crossover logic is robust: Lambda’s per-second meter wins when the work is bursty and the gaps are free; a fixed-price server wins when utilization is high and steady. The 30-minute timeout moves the boundary — jobs that used to be forced onto servers by the clock can now stay serverless — but it does not repeal it. Our VPS sizing guide makes the same point from the server side: sizing for the busiest hour and paying for all 720 is where small operators overpay, in either direction.
There is a second, quieter cost: concurrency. Concurrency equals requests per second multiplied by average duration in seconds. AWS’s own example: 1 request per second at 30 minutes each needs 1,800 concurrent executions — twice what the same rate needed at 15 minutes. If your account quota or reserved concurrency was sized for the old ceiling, the new one can throttle you into retries, and retries are new billable invocations. On Managed Instances, check the capacity provider’s maximum scaling limit instead. Bursty GPU inference follows the same logic — compare the meter against GPU support on Lambda Managed Instances and against a rented GPU server before committing.
The Limits That Did Not Move
Three ceilings survive the launch, and each one can silently cap a 30-minute function at far less.
Initialization is still 10 seconds on demand. The Init phase keeps its existing limits: 10 seconds for on-demand functions, 15 minutes on Lambda Managed Instances. Provisioned concurrency and SnapStart, which are not available on Managed Instances, keep a 15-minute initialization limit. Heavy imports and model loading still have to fit in that window; a longer handler timeout does not buy a longer cold start.
The caller has its own timeout. If another AWS service invokes your function synchronously, that service applies its own timeout, and the shorter one wins. AWS’s guidance is to verify the caller supports the longer duration before raising the function timeout, and to set your client’s read and socket timeouts longer than the function timeout — for example, increasing the read timeout of your AWS SDK client on the Invoke API. On Managed Instances, Lambda enforces the 30-minute synchronous limit even if the function is configured higher. A synchronous test invocation in the console now runs up to 30 minutes, which makes it easy to prove the function works and still ship a caller that gives up first.
Some event source mappings stay at 14 minutes. Invocations from Amazon MQ (ActiveMQ and RabbitMQ) and Amazon DocumentDB mappings remain limited to 14 minutes, as do Kafka mappings created before November 19, 2026, that do not use provisioned mode. For those mappings, keep the function timeout at 840 seconds or less. To use 30 minutes with Kafka, create a new event source mapping or turn on provisioned mode for the existing one.
Two operational settings scale with the timeout. For SQS, AWS specifies a queue visibility timeout of at least six times the function timeout — at least 3 hours for a 30-minute function. Lambda validates this at mapping creation but does not prevent later changes that create a mismatch. For Kinesis Data Streams and DynamoDB Streams, Lambda processes one batch per shard at a time by default, so longer invocations slow shard reads; watch IteratorAge, raise the parallelization factor if records back up, and enable partial batch failure reporting so only failed records retry. Asynchronous invocations keep the configured retry policy — up to two retries by default — then route failures to a dead-letter queue or on-failure destination.
Long invocations also outlive things that used to be safe. A NAT gateway drops idle connections after 350 seconds, so send keep-alives; downstream services such as RDS and ElastiCache need idle timeouts that accommodate the full duration; temporary credentials and tokens must stay valid for 30 minutes or refresh in the background; and because Lambda does not guarantee exactly-once processing, longer runs widen the duplicate-delivery window — AWS points at Powertools for Lambda idempotency utilities for payments and database writes.
Why This Matters If You Run Servers, Not Just AWS Accounts
For years, “longer than 15 minutes” was a hard boundary: past it, you needed a server, a container, or a workflow engine. That boundary just moved to 30 minutes on demand, 90 minutes on Managed Instances, and 8 hours in a MicroVM. Jobs that justified a small always-on VPS purely on duration can now be priced honestly against a per-second meter — and for genuinely spiky work, the meter usually wins, because the idle hours cost nothing.
The mirror image still holds. A VPS has no concurrency quota to double, no visibility timeout to retune, and no bill that scales with your success; its price is fixed whether the job runs once or continuously. The right question is no longer “can Lambda run this?” but “how busy is this job, really?” Below a few hours of compute a day at small memory sizes, Lambda’s arithmetic is hard to beat; approaching continuous use, the fixed-price server reclaims the lead, with Managed Instances or EC2 pricing options as the middle path.
Who Should Raise the Timeout, and Who Should Not
Raise it if your job is a single continuous computation that currently splits awkwardly at 15 minutes: media conversion, financial simulation, large-file ETL, multi-source report generation, and agentic inference chains. Pair it with durable functions when re-execution is expensive, so a failure at minute 22 resumes from a checkpoint instead of restarting.
Keep the old ceiling — or stay on a server — if your caller cannot wait 30 minutes, if your event source is MQ, DocumentDB, or a pre-launch Kafka mapping, if your account concurrency headroom is thin, or if the workload runs hot enough that the per-second meter exceeds a fixed monthly server bill. And if the job is really a stream of short tasks, a longer timeout only gives failures more time to waste: fix the batching instead.
What to Do Next
- Set the timeout deliberately.
aws lambda update-function-configuration --function-name <name> --timeout 1800 --region <region>, orTimeout: 1800in SAM. The change applies to invocations started afterward. - Check concurrency first. Multiply your peak requests per second by the new duration; confirm the account quota and any reserved concurrency can hold it.
- Retune the queue. For SQS mappings, set visibility timeout to at least 3 hours for a 30-minute function.
- Audit every caller. Raise SDK read/socket timeouts above 30 minutes and verify each invoking service tolerates the duration.
- Check the exceptions. MQ, DocumentDB, and older non-provisioned Kafka mappings stay at 14 minutes — keep those functions at 840 seconds or less, or recreate the mapping.
- Harden the long run. NAT keep-alives (350-second idle drop), credential refresh, short DNS TTLs, and idempotency keys for writes and payments.
FAQ
What launched on November 19, 2026?
A 30-minute (1,800-second) maximum timeout for Lambda Event Functions running on demand — synchronous, asynchronous, and ESM invocations — in all commercial Regions at standard pricing, plus 30-minute synchronous invocations on Lambda Managed Instances.
Did Web Functions and MicroVMs change too?
No. Web Functions keep 15 minutes. MicroVMs keep 8 hours across running and suspended time. Only Event Functions moved.
What does a 30-minute invocation cost?
At US East x86 list prices checked November 28, 2026 — $0.0000166667 per GB-second plus $0.20 per million requests — a full 30 minutes costs $0.03 at 1 GB, $0.06 at 2 GB, and $0.12 at 4 GB. The monthly free tier (400,000 GB-seconds) covers about 222 such runs at 1 GB.
Why did my function still stop early after I raised the timeout?
The likely caps are the caller’s own timeout on synchronous invocations, the unchanged 10-second Init limit on demand, or a 14-minute event source mapping (MQ, DocumentDB, or pre-November 19 Kafka without provisioned mode). Check all three before blaming the function.
How does this interact with durable functions?
The function timeout caps each invocation at 30 minutes (90 on Managed Instances for async/ESM); the durable execution timeout caps total elapsed time, up to 1 year for asynchronous executions. Checkpoints let a failed long step resume instead of restarting.
Is Lambda now always cheaper than a VPS for long jobs?
No. Continuous back-to-back 30-minute invocations at 2 GB cost roughly $86 a month at list price — far above a small fixed-price VPS. Lambda wins on bursty, idle-heavy work; servers win on sustained utilization.
The Bottom Line
Doubling the Lambda timeout to 30 minutes removes an eight-year-old reason to keep a server warm for long jobs — at standard pricing, in every commercial Region, with a one-line configuration change. What it does not remove is the arithmetic: concurrency doubles with duration, queues and callers need retuning, and a function busy around the clock still costs more than the small VPS it replaced. Raise the timeout where the work is genuinely continuous and spiky, run the six checks first, and let fixed-price servers keep the workloads that never sleep.
Sources: AWS What’s New, “AWS Lambda now supports a 30-minute timeout for on-demand Event Functions” (aws.amazon.com, November 19, 2026); AWS Compute Blog, “Announcing 30-minute timeout for on-demand AWS Lambda Event Functions” (aws.amazon.com/blogs/compute, November 19, 2026); AWS Lambda pricing page (aws.amazon.com/lambda/pricing) — all checked November 28, 2026. Monthly figures are arithmetic from those list prices over a 30-day month, not measured bills.



[…] this is the most useful Lambda launch of the month — and it arrives in the same busy week as the 30-minute Lambda timeout and GPU support on Lambda Managed […]