cd /news/ai-infrastructure/aws-lambda-pushes-serverless-toward-… · home topics ai-infrastructure article
[ARTICLE · art-134446] src=infoq.com ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

AWS Lambda Pushes Serverless Toward Long-Running Workloads

AWS raised the maximum Lambda function timeout to 90 minutes on Lambda Managed Instances, six times the previous 15-minute limit, while leaving the limit unchanged for traditional synchronous requests. AWS principal engineer Rajesh Pandey said the increase lets customers remove "a lot of the duct tape built around Lambda's maximum execution duration," though AWS warns that longer runs widen the window for retries and duplicate deliveries and recommends idempotency via Powertools for AWS Lambda. The change targets long-running workloads such as media processing, ETL, AI inference, and agentic workflows, and follows Lambda Managed Instances support for Graviton5-powered EC2 instances.

by read2 min views1 publishedSep 19, 2026
AWS Lambda Pushes Serverless Toward Long-Running Workloads
Image: source

AWS Lambda now allows functions running on Lambda Managed Instances to run for up to 90 minutes, six times longer than the previous 15-minute limit, further blurring the line between a Lambda invocation and a traditional server. The limit remains unchanged for traditional synchronous requests.

Lambda's timeout increased from 5 minutes at launch in 2014 to 15 minutes in 2018, but that limit led to workarounds for longer-running workloads. Common cases included media processing, financial calculations, data processing and ETL, AI inference, and web scraping or large file transfers, where jobs can exceed 15 minutes of continuous execution.

As AWS points out in the article "Announcing 90-minute function timeout on AWS Lambda Managed Instances," longer-running Lambda functions require extra care with network connections, temporary credentials, and duplicate execution. Developers should ensure connections and credentials remain valid for the full runtime and design operations to safely handle retries and duplicate processing. Durable Functions also require idempotency because failed steps may run again. The team warns about idempotency:

Lambda does not guarantee exactly-once processing. With longer-running functions, the window for retries and duplicate deliveries increases. You can use Powertools for AWS Lambda to implement idempotency in your function code so that operations like payments or database writes produce the same result even if executed more than once.

The 15-minute limit has been a recurring pain point in the AWS community. Yan Cui, serverless expert and AWS Hero, writes:

Part of me is sad that this further blurs the line between "running a server" and a Lambda invocation. But it does make sense, especially for the "Lambda for agentic workflows" use case.

Lambda now offers two main forms: functions for event-driven workloads with a 15-minute timeout, and MicroVMs for user- or AI-generated code that can run for up to 8 hours. Lambda Managed Instances extend this model to steady-state workloads, allowing multiple requests per instance and access to EC2-based pricing and compute options without requiring infrastructure management. Rajesh Pandey, principal engineer at AWS, highlights how the increase can simplify many deployments:

I've lost count of how many times customers have asked when are you guys going to build, "Long-running Lambda functions." Finally, it's here. A lot of the duct tape built around Lambda’s maximum execution duration can now come off.

While the [community reaction has been mostly positive](https://www.reddit.com/r/aws/comments/1wbx6d2/lambda_gets_90_minute_timeout/), some warn that it might encourage fragile and costly patterns. User *Dull_Caterpillar_642* [writes](https://www.reddit.com/r/aws/comments/1wbx6d2/comment/p8uexxc/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button):

If it's taking 90 min, there's a good chance you should be using something like durable functions (...) Unless your code is literally doing meaningful stuff that entire time as opposed to waiting on other stuff, in which case the economics of Lambda may not work out as much in your favor, and something like ECS Tasks or AWS Batch could make more sense.

The increased timeout is not the only recent announcement for Lambda Managed Instances, with the service now also supporting Graviton5-powered EC2 instances.

The extended timeout is supported in all regions where Lambda Managed Instances are available.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @aws 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/aws-lambda-pushes-se…] indexed:0 read:2min 2026-09-19 ·