hands-on lab

Integrating Services with an AWS Step Functions State Machine

Difficulty: Intermediate
Duration: Up to 1 hour and 15 minutes
Students: 505
Rating: 4.8/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

AWS Step Functions is a workflow service used to orchestrate your AWS services, automate processes, and build serverless applications and microservices.

With AWS Step Functions, you can configure a state machine that handles the decision making throughout your workflows. This is done by defining a collection of states using the Amazon States Language. The most common type of state to define in a state machine is a task state which is a single unit of work performed by the state machine. Naturally, developers may feel inclined to configure these units of work to utilize AWS Lambda functions and the AWS SDK to make the necessary API calls.

However, AWS Step Functions contains built-in service integrations that allow you to make certain API calls directly from your state machine, without needing to author this additional Lambda function. With these service integrations, developers can reduce overhead and the amount of Lambda functions they would need to maintain and update as their application grows.

In this lab, you will work with two examples of these state machine service integrations and discover how to implement them using the Amazon State Language.

Learning Objectives

Upon completion of this intermediate level lab, you will be able to:

  • Explore the AWS Step Functions Workflow Studio
  • Create and test a simple AWS state machine
  • Directly integrate a state machine with the Amazon DynamoDB API
  • Directly integrate a state machine with the Amazon Simple Queue Service API

Intended Audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • AWS Step Functions
  • Amazon DynamoDB
  • Amazon Simple Queue Service

The following lab can be used to fulfill the prerequisites:

 

Updates

September 4th, 2023 - Updated screenshots and instructions to reflect latest UI

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Introducing the AWS Step Functions Workflow Studio and Service Integrations
Defining a State Machine With a DynamoDB Integration
Adding an SQS Integration to Your State Machine