Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Why not one fat Lambda?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Why not one fat Lambda? One function that sleeps between steps wastes duration billing and mixes failures. Timeouts hit the whole flow. Step Functions orchestrates: visual history, per-state retries, wait states, and parallel branches without blocking billing the same way. Define Task → Task → Task in ASL. Add Retry on transient errors. Keep each Lambda under a few seconds. Packed Lambda fails onc
Why not one fat Lambda? · Download PNG
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.

See all AWS revision cards