Menu

1 / 2

AWS Lambda Can Now Run for 30 Minutes — But Should You Still Use Step Functions, SQS, or ECS?

DEV Community: aws·Anupa Supul·12 days ago
#jeCHFImt
#devtoaws#devto#dev#lambda#timeout
Long article (1601 words) — no AI summary yet.
Reading 0:00
15s threshold

For years, one number followed AWS Lambda developers everywhere: 15 minutes .

If a task needed more time, we had to split it into smaller pieces, coordinate those pieces with a workflow service, or consider running the workload on containers.

Now, AWS has raised the maximum timeout for on-demand Lambda Event Functions to 30 minutes . That opens the door to longer-running tasks—but it also raises an important architecture question:

If Lambda can run for 30 minutes, when should we still use Step Functions, SQS, or ECS?

The answer isn't simply “use Lambda for everything.” A longer timeout gives us another option. It doesn't remove the need to choose the right execution model.

Figure: The longer Lambda timeout expands our options, but the workload should still determine the architecture.

1. What Actually Changed?

AWS announced that on-demand Lambda Event Functions can run for up to 30 minutes per invocation , doubling the previous 15-minute limit.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.