AWS Step Functions is a serverless orchestration service that connects AWS services, functions, and APIs into visual workflows. You describe the steps, the order they run in, and what should happen when something fails. AWS then runs the workflow, tracks its state, retries failed steps, and records every input and output along the way.

If you have been asking what is AWS Step Functions and whether your team should use it, this guide covers how it works, the two workflow types, real use cases, pricing in 2026, and how to get your first workflow running.

What Is AWS Step Functions?

AWS Step Functions sits in the application integration family of AWS services.

Its job is coordination. A modern application might call a payment API, write to a database, send a notification, and wait for a person to approve an order. Each of those steps lives in a different service, and someone has to decide what runs next, pass data between them, and recover when one of them times out.

Before Step Functions, that coordination usually lived inside application code. Developers wrote retry loops, stored progress in a database table, and chained AWS Lambda functions together so one function called the next. The result worked, but it was hard to read, hard to change, and harder to debug at 2 a.m.

Step Functions moves that logic into a separate layer called a state machine. Your business logic stays in your functions and containers. The flow between them lives in a workflow definition that you can see as a diagram, change in one place, and audit after every run. AWS describes the service as able to call over 220 AWS services and more than 10,000 API actions directly, so many steps need no custom code at all.

>>> Read more: The End of VMs, the Rise of Serverless Containers

How AWS Step Functions Works

Software engineer developing a serverless workflow

Every workflow in Step Functions has the same few moving parts. Once you understand them, the console and the documentation become much easier to follow.

State Machines and Amazon States Language

A workflow is called a state machine, and each step inside it is a state. You define the state machine in a JSON-based format called the Amazon States Language. The definition lists every state, what each state does, and which state comes next. Because the definition is plain text, it fits naturally into version control and infrastructure as code tools such as AWS SAM and the AWS CDK.

Workflow Studio

Most teams start in Workflow Studio, a drag-and-drop designer inside the Step Functions console. You pull states onto a canvas, connect them, and configure each one with a form. Workflow Studio writes the Amazon States Language for you, and you can switch to the code view at any time.

Executions

Each time a workflow runs, Step Functions creates an execution. The console shows the execution as a live diagram, with each step turning green, red, or blue as it succeeds, fails, or runs. You can click any step to see its exact input, output, and error message. Logs flow to Amazon CloudWatch, and API activity is recorded in AWS CloudTrail for auditing.

Service Integrations

Task states call other services in four main ways:

  • Request response: Step Functions calls the service and moves on as soon as it gets a reply.
  • Run a job (.sync): Step Functions starts a job, such as an AWS Glue ETL job or an AWS Batch task, and waits for it to finish.
  • Wait for a callback: Step Functions pauses and hands out a task token. The workflow resumes when an external system, or a person, sends the token back.
  • HTTPS endpoints: Workflows can call third-party APIs directly, which helps when a step depends on a SaaS tool outside AWS.

Variables and JSONata

Passing data between steps used to require careful path expressions. Step Functions now supports variables, which let any state store a value and any later state read it. It also supports JSONata, a query and transformation language that handles date formatting, math, and string work inside the workflow itself. Fewer helper Lambda functions means fewer moving parts and a smaller bill.

>>> Read more: What is Amazon EKS? Kubernetes on AWS, Architecture, Pricing, and EKS vs ECS

The State Types You Will Use Most

Step Functions gives you a small set of state types. Almost every workflow you build will combine a handful of these.

State What it does Typical example
Task Runs a unit of work by calling a service or API Invoke a Lambda function, write an item to DynamoDB
Choice Picks the next step based on the data Send orders above a set value to manual review
Parallel Runs several branches at the same time Resize an image and extract its metadata together
Map Repeats the same steps for every item in a list Process each row of a CSV file stored in S3
Wait Pauses for a set time or until a timestamp Send a reminder email three days after sign-up
Pass Passes or reshapes data without doing work Add default values before the next step
Succeed and Fail Ends the execution with a clear result Stop with a named error when validation fails

Built-in error handling applies across these states. You can set a Retry rule with an interval and backoff rate, then add a Catch rule that sends the workflow to a cleanup or alert step when retries run out.

Standard vs Express Workflows

IT professionals analyzing two workflows on a touchscreen whiteboard

When you create a state machine, you choose one of two workflow types. The choice cannot be changed later, so it pays to understand the trade-offs first. AWS lays out the full detail in its workflow type guide.

Feature Standard Workflows Express Workflows
Maximum duration Up to one year Up to five minutes
Execution model Exactly once At least once (async) or at most once (sync)
Pricing basis Per state transition Per request, plus duration and memory
Execution history Stored by Step Functions for 90 days Sent to CloudWatch Logs when logging is on
Callbacks and .sync jobs Supported Not supported
Distributed Map Supported Not supported
Best for Long, auditable business processes High-volume, short event processing

When to Choose Standard

Standard Workflows suit anything that must run exactly once and leave a clear audit trail. Payment processing, order fulfilment, employee onboarding, and approval flows all fit here. A Standard execution can wait days for a human decision without costing anything while it sits idle.

When to Choose Express

Express Workflows suit fast, high-volume jobs such as IoT data ingestion, streaming transformations, and mobile backends. AWS states that Express supports event rates above 100,000 per second. You can run them asynchronously for fire-and-forget processing, or synchronously behind Amazon API Gateway when a caller needs the result straight away. Because steps may run more than once, each one should be idempotent.

Combining Both

Many production designs nest the two. A Standard parent workflow handles the long-running, auditable process, and it calls Express child workflows for the bursty inner work. The Distributed Map state follows the same idea at scale, launching thousands of child workflows in parallel to process millions of objects in Amazon S3.

Common AWS Step Functions Use Cases

Engineer monitoring data pipelines and system status

Step Functions shows up wherever a process has several steps, several services, and a real cost when something fails halfway through. These are the patterns we see most often in customer projects.

Microservice Orchestration

An order service, a payment service, and an inventory service each do one job well. Step Functions coordinates them so an order moves through each stage in the right sequence. If payment fails after stock is reserved, a Catch rule triggers a compensating step that releases the stock. This is the classic saga pattern, and Step Functions makes it visible in a single diagram.

Data Processing and ETL Pipelines

A nightly pipeline might wait for files to land in S3, start an AWS Glue job, run a query in Amazon Athena, and notify the data team through Amazon SNS. The .sync pattern lets Step Functions wait for each job to finish before moving on, so there is no polling code to maintain.

Machine Learning Pipelines

Training a model involves data preparation, training, evaluation, and a decision about whether to deploy. Step Functions can call Amazon SageMaker for each stage and use a Choice state to deploy only when the new model beats the current one on your chosen metric.

>>> Read more: What is MLOps? Machine Learning Operations Explained with AWS Tools

Generative AI Workflows

Step Functions can call Amazon Bedrock directly as a task. Teams use this to chain prompts, summarize batches of documents with a Map state, and route uncertain answers to a person for review. Built-in retries also help smooth over model throttling during traffic spikes.

IT and Security Automation

Operations teams use Step Functions to automate patching, snapshot cleanup, and incident response. A security finding can trigger a workflow that isolates an instance, captures evidence, opens a ticket, and waits for an engineer to confirm the next action through a callback token.

Human Approval Steps

Loan reviews, refund requests, and content moderation often need a person in the loop. The callback pattern pauses a Standard workflow until a reviewer clicks approve or reject in an email or internal tool. The workflow can wait for hours or weeks, and you only pay for the state transitions that actually run.

AWS Step Functions Pricing

Workspace with laptop, tablet, and notepad used for estimating cloud workflow costs

Step Functions pricing depends on the workflow type. Figures below are for US East (N. Virginia) and come from the official Step Functions pricing page.

Pricing element Standard Workflows Express Workflows
Main charge $0.025 per 1,000 state transitions $1.00 per million requests
Duration charge None From $0.00001667 per GB-second, billed in 100 ms and 64 MB increments
Free tier 4,000 state transitions per month, with no expiry Not included

A quick example shows how small the orchestration cost usually is. A Standard workflow with four steps that runs 100,000 times a month uses 400,000 state transitions. After the free tier, the bill comes to about $9.90.

Keep these cost drivers in mind as workflows grow:

  • Every retry counts as an extra state transition in Standard Workflows.
  • Services called by the workflow, such as Lambda or Glue, are billed separately at their own rates.
  • Express duration depends on memory, which grows with payload size and the number of Map or Parallel branches.
  • Using JSONata and direct service integrations can remove helper states and cut transitions.
  • Moving very high-volume, short workflows from Standard to Express often lowers the total bill.

The AWS Pricing Calculator is the quickest way to model a specific workflow before you commit to a design.

>>> Read more: AWS Cost Optimization: 10 Proven Strategies to Reduce Your Cloud Bill in 2026

Step Functions Compared With Other AWS Options

Step Functions often appears on the same shortlist as other AWS integration and scheduling tools. Each one solves a slightly different problem.

Service Model Best fit When Step Functions fits better
Amazon EventBridge Event routing (choreography) Loosely coupled services reacting to events You need one place that tracks order, state, and failures
Amazon SQS Message queue Buffering work between producers and consumers The process has branches, waits, or approvals
Amazon MWAA Managed Apache Airflow Data teams already invested in Airflow DAGs You want serverless pricing and no environment to run
Lambda calling Lambda Code-based chaining Very short, simple sequences You need retries, visibility, or runs longer than 15 minutes

In practice, these services work well together. EventBridge often starts a Step Functions workflow, SQS feeds it work, and Step Functions coordinates the steps once the process begins.

How to Get Started With AWS Step Functions

A first workflow can be live within an hour. A production-ready one needs a little more planning around permissions, logging, and failure paths.

  1. Map the process on paper. List each step, the service that handles it, and what should happen when it fails.
  2. Pick the workflow type. Choose Standard for long or audited processes and Express for short, high-volume events.
  3. Build in Workflow Studio. Drag in states, connect them, and use direct service integrations wherever possible.
  4. Set least-privilege permissions. Give the state machine an AWS IAM role that can call only the services it needs.
  5. Add Retry and Catch rules. Cover timeouts, throttling, and service errors on every Task state.
  6. Turn on logging and tracing. Send execution logs to CloudWatch and enable AWS X-Ray for end-to-end tracing.
  7. Move the definition into code. Store it in your repository and deploy it through SAM, CDK, or Terraform.

The free AWS Step Functions Workshop walks through each of these patterns with hands-on labs, and Serverless Land hosts a large library of ready-made workflow examples you can deploy and adapt.

>>> Read more: When to Use an AI Agent: A Practical Guide for Businesses

Build Serverless Workflows With Renova Cloud

Cloud consultant presenting a serverless workflow diagram to a business team

Renova Cloud is an AWS Premier Tier Services Partner in Vietnam and the first local partner to earn the AWS DevOps Competency. Our engineers design and run serverless architectures for banks, retailers, manufacturers, and fast-growing digital businesses across Southeast Asia.

We help teams choose between Standard and Express Workflows, connect Step Functions with Lambda, Glue, SageMaker, and Bedrock, and build error handling and monitoring in from day one. We also review existing workflows to cut state transitions and keep monthly costs predictable as usage grows.

If you are planning a new serverless application or untangling a chain of Lambda functions, our team is ready to help.

Talk to Renova Cloud’s AWS experts today.