What execution timeouts apply to standard Lambda functions and Managed Instances?
Instruction: State the normal Lambda execution timeout limit, explain the documented Managed Instances exception, and distinguish an invocation timeout from a durable workflow duration.
Updated
Official answer
The answer depends on the compute and invocation mode. In the ordinary Lambda configuration, the timeout defaults to 3 seconds and can be set in one-second increments up to 900 seconds (15 minutes).
AWS also documents a 5,400-second (90-minute) maximum for Lambda Managed Instances using asynchronous invocation or event-source mappings, except Amazon MQ and Amazon DocumentDB mappings. Do not apply that exception to every Lambda invocation. Check the current service documentation and the function's actual mode before designing around a maximum.
A durable function's overall workflow may run for up to one year using checkpointing, waits and resumptions. That is a workflow duration, not a promise that one uninterrupted handler invocation can execute for a year.
Choose a timeout using realistic upper-end input sizes and downstream latency, with an appropriate failure policy. Monitor duration and timeouts. If work does not fit its applicable invocation limit, divide it into resumable steps or select a suitable execution service; increasing a timeout alone does not make partial side effects safe to retry.
Sources
AWS Lambda timeout configuration; execution lifecycle and durable functions. Limits checked October 17, 2026.