Introduction

AWS Step Functions offers two workflow types, named Standard and Express. Both are defined in the same way, as a state machine written in the Amazon States Language, but they differ in duration, pricing, execution guarantees, and history. A workflow type determines how an execution is run and billed. This guide compares the two types and explains when each should be chosen. Readers who are new to the service should first read the guide on what AWS Step Functions is.

What is being compared?

A Standard workflow is designed for processes that are long-running, that must be recorded in full, and that must be performed exactly once. An Express workflow is designed for processes that occur at very high volume and complete quickly. The definition of the state machine can be identical in both cases, so the choice is a matter of the operational characteristics rather than of the workflow logic.

Why the choice matters

The type that is selected affects how long an execution may run, how much it costs, whether a step might be repeated, and whether a full history is retained. A workload that is chosen incorrectly may become expensive, may fail to complete within the allowed time, or may lack the audit record that is required. The selection is therefore an important decision.

How each type works

A Standard workflow may run for up to one year and provides exactly-once execution, which means that each step is performed a single time. It is charged per state transition, which is each movement from one state to the next, and it records a durable history of every execution.

An Express workflow may run for up to five minutes and provides at-least-once execution, which means that a step may occasionally be performed more than once. Its tasks should therefore be idempotent, which means that repeating an operation produces the same result. It is charged by the number of executions, their duration, and the memory that is used, and its detail is sent to Amazon CloudWatch Logs when logging is enabled.

Comparison diagram

Standard workflow Express workflow Maximum duration up to one year up to five minutes Execution exactly-once at-least-once Pricing per state transition per execution, duration, and memory History full, durable record sent to CloudWatch Logs Best for long, auditable high-volume, short work processes

Where Standard is stronger

Where Express is stronger

When to choose each

Best practices

Common mistakes

Further reading in this library

Frequently Asked Questions

What is the maximum duration of each workflow type?
A Standard workflow may run for up to one year. An Express workflow may run for up to five minutes. Work that must run for a long time should use a Standard workflow.
How are Standard and Express workflows priced?
A Standard workflow is charged per state transition. An Express workflow is charged by the number of executions, their duration, and the memory used. For very high volume, the Express model is often less expensive.
What execution guarantees does each type provide?
A Standard workflow provides exactly-once execution. An Express workflow provides at-least-once execution, so its tasks should be idempotent.
Does each type record execution history?
A Standard workflow records a full, durable history. An Express workflow sends its detail to Amazon CloudWatch Logs when logging is enabled.
Can the two types be combined?
Yes. A Standard workflow can start an Express workflow as one of its steps, which allows a long, auditable process to contain a section of high-volume work.
Mastering AWS Step Functions cover
Go deeper ยท Book as a Service™
Mastering AWS Step Functions

This article is the summary. The book is the full, continuously updated reference: choosing workflow types, pricing, error handling, and production orchestration patterns.

View the book