AWS Step Functions
Serverless visual workflow service that orchestrates Lambda functions and other AWS services into state machines.
How it works
AWS Step Functions orchestrates distributed processes as state machines defined in Amazon States Language. Workflows can run tasks sequentially or in parallel, branch on conditions, and integrate with Lambda, ECS, and DynamoDB. You can configure retries and error handling. Execution history and logging capabilities differ between Standard and Express workflows.
When to use it
Choose it when the requirement is complex multi-step workflows with sequential steps, parallel branches, error handling, or human approval.
Real-world example
A bank uses Step Functions to process loan applications: it checks credit and fraud in parallel, waits for an officer to approve through a callback, then disburses funds and sends a notification.
Key facts
- Defines state machines with support for sequential tasks, parallel execution, conditions, timeouts, and catch blocks.
- Integrates directly with AWS services including Lambda, ECS tasks, API Gateway, SQS, and on-premises systems.
Common pitfall
Do not choose Standard or Express based only on duration. Compare execution semantics, integration patterns, observability, and cost with the actual requirements of the workload.
Often confused with
Amazon SQS and SNS, which transport messages between services but do not coordinate state, branching, or multi-step workflow logic.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Keywords you will see in SAA-C03 questions
- saga pattern
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.