Notice: Amazon SWF is in maintenance mode and no longer receives new features. AWS recommends AWS Step Functions as a more modern, fully managed alternative for new workflow orchestration projects.
What is Amazon SWF?
Amazon Simple Workflow Service (SWF) is a workflow orchestration service for building, running, and scaling background jobs with parallel or sequential steps. It coordinates tasks across distributed application components, manages dependencies, scheduling, and concurrency, and durably tracks the state of the entire execution.
Developers implement workers that perform individual tasks, either on AWS infrastructure such as Amazon EC2 or on-premises. SWF stores tasks, assigns them to workers as they become available, and tracks progress and execution state. For most new use cases today, AWS recommends AWS Step Functions as a more modern, declarative approach to workflow orchestration.
Core Features
- Track workflow state over long time periods
- Distribute tasks to deciders and activity workers
- Support for human and automated tasks
- Signals for external events and approval steps
- Reliable task execution with retry logic
Typical Use Cases
Media Processing Pipelines: Complex processing workflows with many steps running over hours or days, coordinating various encoding and analysis tasks.
Order Fulfillment: Multi-step processes with manual approval steps that need to react to external events.
Legacy Workflows: Existing SWF implementations that run reliably and currently don’t require migration.
Benefits
- Very long workflow runtimes possible
- Full control over workflow logic in your own code
- Reliable execution with at-least-once guarantee
- Support for complex branching logic
Integration with innFactory
As an AWS Reseller, innFactory supports you with Amazon SWF: assessment of existing workflows, migration to Step Functions where appropriate, optimization of existing SWF implementations, and architecture consulting for workflow requirements.
Typical Use Cases
Frequently Asked Questions
What is the difference between SWF and Step Functions?
SWF is an older service with more flexibility in workflow logic but requires custom code for deciders and activity workers. Step Functions is newer, fully managed, and uses declarative workflow definitions. AWS recommends Step Functions for new projects.
When should I still use SWF?
SWF makes sense for existing implementations, for workflows that need to run for very long periods, or when workflow logic is too complex to be modeled reasonably in Step Functions. AWS no longer actively recommends it for new projects.
What does Amazon SWF cost?
Amazon SWF is billed on a pay-per-use basis: charges apply per workflow execution, per open workflow-day, and per task, signal, and timer. AWS provides a monthly free tier; usage beyond that is pay-per-use with no minimum fee.
Does SWF support human approvals?
Yes, SWF can wait for external signals, enabling human approval steps. The workflow pauses until a signal is received.
Is Amazon SWF still being developed?
No, Amazon SWF is in maintenance mode. The service remains available and supported but no longer receives new features. AWS recommends Step Functions for new projects.
Note: All product information on this page has been compiled with care, but is provided without guarantee and may be outdated or incomplete. Cloud services evolve rapidly — features, pricing, SLAs, and availability change frequently. Authoritative and up-to-date information can only be found on the official product page of AWS (official documentation). This page does not represent an offer by AWS.