AWS Lambda's 30-minute timeout: what changes for long-running data and AI workloads

Which batch inference, ETL and agentic patterns now fit in a single function, what they cost, and how to keep them from failing silently at scale

By · · 12 min read

AWS Lambda's maximum timeout has doubled from 15 to 30 minutes. More data and AI workloads now fit in a single function, the cost model shifts, and long runs need concurrency planning plus a Python checkpoint pattern so they don't fail silently.

For years, a single Lambda invocation could run for at most 15 minutes. Now it can run for 30 minutes. If you run data or AI workloads, that changes which jobs fit in one function, what a run costs and how much concurrency it holds. A half-hour run can also die quietly at minute 29, and a checkpoint pattern in Python is the guard against that.

Read the full article on LearnXops (free with a LearnXops account).