# AWS Step Functions

> An AWS service that runs a workflow of steps. Each step calls a service.

**Field:** Data Engineering  
**Category:** Orchestration  
**Also known as:** Step Functions, Amazon States Language, AWS State Machine

## Think of it like

It is like a board game path drawn on paper. Each square says what to do and where to go next.

## Definition

AWS Step Functions is an AWS service for running workflows made of steps. A workflow is called a state machine, and each step is a state. A step can call another AWS service, make a choice or run steps side by side. You write the steps in JSON, or draw them in a visual editor. Standard workflows can run for up to a year. Express workflows run for up to five minutes and suit fast, busy jobs.

## Example

Each night a state machine starts an AWS Glue job, waits for it to finish, then calls a Lambda function. If the job fails, it retries twice and then sends an alert.

## Why it matters

Teams on AWS can chain services with no servers to run. Retries and error paths are part of each step.

## Common mistake

Picking Express for a long job. Express workflows stop at five minutes, so long jobs need Standard.

## Three principles

- **States.** Each step is one state.
- **Calls services.** Glue, Lambda and more.
- **Two types.** Standard for long, Express for fast.

## Related terms

- [Workflow Orchestration](https://learn.benibix.com/term/data/workflow-orchestration)
- [Amazon MWAA](https://learn.benibix.com/term/data/amazon-mwaa)
- [Argo Workflows](https://learn.benibix.com/term/data/argo-workflows)
- [Task Retry](https://learn.benibix.com/term/data/task-retry)
- [Amazon Web Services (AWS)](https://learn.benibix.com/term/infrastructure/amazon-web-services)
- [JavaScript Object Notation (JSON)](https://learn.benibix.com/term/development/json)

![Three boxes under the heading Airflow, written in Python: Apache Airflow, where you run the scheduler and workers; Amazon MWAA, highlighted, with DAGs in an S3 bucket; and Google Managed Airflow, highlighted, with DAGs in Cloud Storage. Two boxes under other engines: AWS Step Functions, with states written in JSON, and Argo Workflows, with each step a container.](https://learn.benibix.com/diagrams/dat2-orchestrator-hosting.svg)

---

Source: https://learn.benibix.com/term/data/aws-step-functions
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
