Integrating Services with an AWS Step Functions State Machine

Lab Steps

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

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h 15m
Students158
Ratings
5/5
starstarstarstarstar

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:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students22839
Labs74
Learning paths3

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.