Step Functions

Definition

AWS service for coordinating multiple AWS services into serverless workflows using visual state machines, simplifying application development.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between workflow orchestration and choreography in microservices?
Orchestration uses a central controller (the orchestrator) that tells each service what to do and when, and it tracks the workflow state. Choreography has no central controller; services publish and react to events, and the overall process emerges from those event interactions. Orchestration is often easier to monitor and debug for complex, multi-step flows, while choreography can reduce coupling but may be harder to trace end-to-end.
When should I use workflow orchestration?
Use it when you have a multi-step process that spans multiple services and needs reliable sequencing, retries, timeouts, and visibility. Common triggers include: long-running processes (minutes to days), the need for human approvals, complex branching logic, compensation/rollback steps (saga patterns), and a requirement to audit or replay what happened in an order or request.
How much does workflow orchestration cost?
Costs usually depend on how many workflow executions you run, how many state transitions/steps occur, and how long workflows run. Managed services may also charge for connectors, API calls, or compute used by tasks (for example, serverless functions or containers invoked by the workflow). To estimate cost, count: (1) executions per month, (2) average steps/state transitions per execution, (3) any external compute and network usage, and (4) logging/monitoring retention.

Category: software

Difficulty: advanced

Related Terms

See Also