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

Ravi Sir's Cards › AWS

Order workflow with Step Functions

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

Order workflow with Step Functions Flipkart-style flow paid → packed → shipped needs ordered steps, retries, and a clear status — not one giant Lambda. AWS Step Functions runs a state machine. Each Task state invokes a Lambda; DynamoDB holds status; SNS alerts on shipped. Write ASL JSON (zip), create state machine, three Lambdas (markPaid, markPacked, markShipped), start execution with orderId. St
Order workflow with Step Functions · Download PNG
Read card text

What this card says

Why do we need it?

Flipkart-style flow paid → packed → shipped needs ordered steps, retries, and a clear status — not one giant Lambda.

What is it?

AWS Step Functions runs a state machine. Each Task state invokes a Lambda; DynamoDB holds status; SNS alerts on shipped.

How to do it

Write ASL JSON (zip), create state machine, three Lambdas (markPaid, markPacked, markShipped), start execution with orderId.

Standard workflow

Example

StartExecution {"orderId":"O-42"} → DynamoDB status moves paid→packed→shipped and you get an SNS email.

See all AWS revision cards