6 min read
AWS Lambda now supports 30-minute timeout and reduces the need to split up heavy processing
After eight years stuck at 15 minutes, the AWS Lambda execution limit for Event Functions has risen to 30 minutes. The change simplifies architectures that today split long tasks into multiple invocations, but it brings cascading timeout and cost pitfalls worth understanding before turning the dial.

- Reading
- 6 min
After eight years stuck at 15 minutes, the AWS Lambda execution limit for Event Functions has risen to 30 minutes. The change simplifies architectures that today split long tasks into multiple invocations, but it brings cascading timeout and cost pitfalls worth understanding before turning the dial.
AWS Lambda launched in 2014 with a 60-second timeout. It rose to 5 minutes in 2015, reached 15 minutes in 2018, and stayed there for eight years, long enough to become an architectural assumption: if your processing took more than 15 minutes, you broke it into pieces, no choice about it. According to the AWS News Blog, in the week ending November 21, 2026, that ceiling doubled to 30 minutes (1,800 seconds) for Event Functions, covering synchronous, asynchronous, and event source mapping invocations, across all commercial Regions.
The announcement didn't come alone. The same week, Lambda gained support for GPU instances and for runtimes managed separately from the function, two launches worth noting but that don't shift the architecture calculus the way the timeout does. Execution limit is the kind of number that decides whether you use a service one way or another, so it's worth understanding exactly where it applies, where it doesn't, and how much the option to stretch it costs.
What exactly doubled
The 30-minute bar applies to Event Function type functions running in Lambda's standard model. In Lambda Managed Instances, synchronous invocations also rise to 30 minutes, but asynchronous ones and those via event source mapping had already gained a 90-minute timeout in September and remain at that level. The price doesn't change: it's Lambda's standard rate, billed by execution time, so a function that used to run in two 15-minute cycles pays, in theory, the same total time running in a single cycle, minus the overhead of repeated cold starts.
Expert views
What people are saying about it.
JetBrains has confirmed that CVE-2026-114938, nicknamed Java4Shell, affects the JBR embedded in all its IDEs as well as the JDK running in production. There's a patch and a workaround, but they are separate fixes.
Oracle's November 2026 CSPU brings ten fixes for MySQL, three of them exploitable over the network without login. Percona has already merged the fixes into version 8.4 and details what can be mitigated now.
Vercel announced Audited ZDR, an independent audit layer that verifies, in practice, whether inference providers actually delete prompts and completions after processing.
AWS points to three workloads as the direct target of the change: agentic requests that chain calls to models and tools (an agent that reasons, calls an API, reasons again, calls another), media transcoding, and file conversion. These are workloads that today frequently turn into a Step Functions state machine just to coordinate the artificial split into 15-minute chunks, with queueing, idempotency, and reprocessing at every step.
The catch the announcement doesn't hide, but is easy to miss
The AWS post on the Compute blog, referenced in the roundup, is explicit: increasing the function's Timeout doesn't increase the timeout of whoever calls it. If a Lambda function sits behind a service that invokes it synchronously, such as an API Gateway REST API, that service's own timeout still applies, whether Lambda runs for 30 minutes or not. The same goes for any other service that invokes the function synchronously and enforces its own ceiling.
This changes where the gain actually shows up: direct invocation via SDK, asynchronous invocation, queue or stream consumption, and Managed Instances scenarios. It doesn't show up, at least not on its own, in synchronous HTTP endpoints exposed via API Gateway or Application Load Balancer, which keep their own response limits.
Two other technical details factor in before turning the dial:
- Client and socket timeouts need to be longer than the function's new timeout, otherwise the caller gives up before the function finishes and the work runs for nothing.
- NAT gateway drops idle connections after 350 seconds. A function that goes more than a little over five minutes without traffic on an outbound connection through a NAT gateway needs to implement keep-alive, otherwise the connection drops mid-execution and the error shows up at the worst possible time.
The point that matters for anyone running hybrid in Brazil
Part of the heavy work that today gets fragmented across multiple Lambda invocations in Brazil involves calling systems that aren't on AWS: a local ERP, a bank's mainframe, a tax system, all accessed via VPN or Direct Connect from a VPC. That's exactly the kind of call that crosses a NAT gateway and that, with the 15-minute timeout, already forced short-step architecture, even when the real bottleneck was the round-trip latency to the local data center, not the processing itself.
With 30 minutes, it's possible to cut out one orchestration step: fewer Step Functions hops, fewer intermediate queues, less logic for resuming where it left off. But the trade-off doesn't disappear, it just moves.
A function that runs twice as long while keeping a connection open to an on-premises system requires disciplined keep-alive, and every extra minute of execution is an extra minute of Lambda billing and, if the connection goes through a NAT gateway, of data processing on that NAT. The gain in code simplicity comes at a price in observability: a 25-minute function that fails at the 24-minute mark wastes more work than a 10-minute one that fails at the same proportional point, so the retry and idempotency bill doesn't get cheaper, just less frequent.
For even longer-running work, the answer remains different
For anything beyond 30 minutes, AWS hasn't changed course: durable functions remain the piece for executions of up to a year, and they gained, in the same week, OpenTelemetry trace emission. That's good news separate from the timeout: today it's common to lose visibility precisely in the longest executions, because instrumentation stopped at the boundaries of each fragmented invocation. End-to-end tracing across an hours-long execution makes it easier to find where the time was actually spent, which becomes a concrete argument when deciding whether it's worth migrating from a fragmented Event Function to a durable function.
GPU and shared runtime: relevant, but a different decision
GPU instance support in Lambda Managed Instances (from G4dn to G6e, packaged as an OCI image, with no CUDA driver management required) solves a different problem: inference with a custom model without maintaining a dedicated EC2 fleet. In AWS's example, four concurrent requests sharing a single copy of the model on one GPU finished in a time close to that of a single request. The cost adds up EC2 instance pricing, a 9.75% management fee for GPU instances, and $0.20 per million requests, which makes the bill sensitive to volume and better assessed with a load test before committing budget.
Customer-managed runtimes tackle another friction point: today, updating an SDK or a monitoring agent shared by dozens of functions means redeploying function by function. With the runtime packaged as its own OCI image in Amazon ECR, the platform team updates one central resource and Lambda propagates the change as it recycles execution environments, with health metrics and rollback. It's not the announcement of the week that redesigns architecture, but it solves a real operational annoyance for anyone maintaining security and observability standards across many functions at once.
What's left as a decision for whoever writes the function
Increasing the timeout to 30 minutes is a configuration change, not a code change, and that's part of the risk: it's easy to turn the dial without reviewing the three layers that keep their own limits (invoking service, client, NAT gateway). Before using the new headroom, it's worth measuring how much time the function actually spends waiting on an external system versus processing, because it's only in the first situation that keep-alive and the NAT timeout come into play.
And it's worth asking whether the problem is really execution duration or the lack of a checkpoint: if the function fails at minute 28 of a 30-minute run, the full retry will still hurt, and that's where durable functions with OpenTelemetry solve things better than simply stretching the Event Function.
Translated from the Brazilian Portuguese original · Read the original
Kubernetes 1.38 comes with changes that can break CI/CD and legacy nodes
Kubernetes 1.38, expected on December 16, 2026, drops environment variables used in scripts, retires a legacy cgroup mechanism, and changes swap behavior. Here's what to review before upgrading your cluster.

