Integrating Services with an AWS Step Functions State Machine
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.
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
- Cloud Architects
- DevOps Engineers
- Software Engineers
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:
September 4th, 2023 - Updated screenshots and instructions to reflect latest UI
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.