Skip to content
BENIBIX Learn

AWS Step Functions

Data🗓️ OrchestrationOrchestration Tools

Also known as Step Functions, Amazon States Language, AWS State Machine

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

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.

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.

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.
Step Functions is not Airflow. It is its own engine, and its steps are written in JSON.

Common mistake

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

Key takeaways

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