Ravi Sir's Cards › AWS
Why not one fat Lambda?
This revision card explains Why not one fat Lambda? It starts from the need that one function that sleeps between steps wastes duration billing and mixes failures. Timeouts hit the whole flow. It describes step Functions orchestrates — visual history, per-state retries, wait states, and parallel branches without blocking billing the same way. The how-to section notes define Task , then Task , then Task in ASL. Add Retry on transient errors. Keep each Lambda under a few seconds. An example on the card is packed Lambda fails once , then Step Functions retries that state only; paid stays recorded.
Read card text
What this card says
Why do we need it?
One function that sleeps between steps wastes duration billing and mixes failures. Timeouts hit the whole flow.
What is it?
Step Functions orchestrates: visual history, per-state retries, wait states, and parallel branches without blocking billing the same way.
How to do it
Define Task → Task → Task in ASL. Add Retry on transient errors. Keep each Lambda under a few seconds.
Type: Task
Example
Packed Lambda fails once → Step Functions retries that state only; paid stays recorded.