AWS Lambda now runs for 30 minutes

AWS Lambda's maximum timeout doubled from 15 to 30 minutes for on-demand Event Functions on 19 Nov 2026. What changed, the new Lambda names, what a 30-minute run costs, and five things to check before you raise a timeout.

GazeekWHAT'S NEW WITH VINNIE·EPISODE 2
EPISODE 2

AWS Lambda now runs for 30 minutes

AWS Lambda's maximum timeout doubled from 15 to 30 minutes for on-demand Event Functions on 19 Nov 2026. What changed, the new Lambda names, what a 30-minute run costs, and five things to check before you raise a timeout.

0:00 / 5:02

Diagrams in this video · 2Free in archhy

Copy and edit in archhy: Wait, Event Functions? (new tab)
Copy and edit in archhy: Check two: retries (new tab)

After this lesson you can

  • Say which Lambda functions can now run for 30 minutes
  • Estimate what a 30-minute run costs
  • Check callers, retries, queues and concurrency before raising a timeout
  • Choose durable functions or Step Functions for longer work
Transcript

AWS Lambda now runs for 30 minutes

Vinnie here. I sniffed out a change in AWS Lambda that a lot of people have waited years for. For ordinary Lambda functions, the fifteen-minute limit is gone. They can now run for thirty.

What changed

On the nineteenth of November, AWS raised Lambda's maximum timeout from nine hundred seconds to eighteen hundred. Fifteen minutes to thirty. It covers synchronous calls, asynchronous calls and most event source mappings, in all commercial Regions, at the same price per second. The exceptions: Amazon MQ and DocumentDB mappings stay at fourteen minutes. So do Kafka mappings made before the change, unless you make a new one or turn on provisioned mode. That's eleven days before re:Invent, so it isn't a conference launch. It just quietly shipped.

Wait, Event Functions?

If Event Functions sounds new, it is. In October, AWS renamed ordinary Lambda functions to Event Functions, when it launched Web Functions. Web Functions stay at fifteen minutes at most. Lambda Managed Instances now get thirty minutes for synchronous calls too, and already had ninety, since September, for asynchronous calls and event source mappings.

What thirty minutes costs

So what does a full thirty-minute run cost? Using AWS's published on-demand prices in North Virginia, one run at one gigabyte on x86 is about three cents. Managed Instances are priced differently, by the instance. On Arm, about two and a half cents. At ten gigabytes, about thirty cents. Cheap for one run. But a run that should take a second and hangs for thirty minutes costs about eighteen hundred times as much in compute.

Check one: who's waiting?

Before you raise a timeout, sniff out who's waiting for the answer. API Gateway HTTP APIs stop waiting after thirty seconds. REST APIs default to twenty-nine, and you can raise that, at a cost to your throttle quota. Either way, if the caller gives up, your function carries on, and keeps billing, with nobody to hear the result.

Check two: retries

Check two: retries. Asynchronous calls are retried twice by default, after a one-minute wait and then a two-minute wait. So one failing event can bill three runs of thirty minutes. At two gigabytes, that's about eighteen cents, for nothing.

Checks three to five

Three. For an Amazon Simple Queue Service queue, SQS, AWS says set the visibility timeout to six times the function timeout, plus any batching window. That's over three hours. Lambda won't check that for you, so raise it first. And on Kinesis or DynamoDB Streams, watch the iterator age. Four. Runs that last twice as long need twice the concurrency at the same request rate. And five. With retries, the same work can run up to three times, so make it idempotent: safe to repeat.

When thirty isn't enough

And if thirty minutes still isn't enough, Managed Instances run asynchronous work for ninety. If the work is expensive to redo, look at Lambda durable functions: each call is still capped at thirty minutes, but checkpoints carry the whole job much further. Or Step Functions Standard workflows. For steady, heavy work that runs for hours, Fargate is often cheaper. At low traffic, Lambda usually wins.

Sniffed out

So. Lambda Event Functions can now run for thirty minutes, at the same price per second. Before you use it, check who's waiting, the retries, your queue's visibility timeout and your concurrency.

The full article, and what's next

The full guide, with the cost table and the settings, is on the Gazeek blog. The link is in the description. I'll keep sniffing. See you next time. More on the channel. Alpaca Mango. I've sniffed it all. Mostly.

Read the article

AWS Lambda timeout is now 30 minutes: the whole idea in writing, free.

Read it ↗