Step Functions Application Patterns for Lambda Orchestration

Step Functions Application Patterns for Lambda Orchestration
Step Functions Application Patterns for Lambda Orchestration

CLOUD LABS

Step Functions Application Patterns for Lambda Orchestration

In this Cloud Lab, you’ll learn to use different application patterns of AWS Step Functions to drive an architecture based on Lambda functions. You’ll create a document processing pipeline leveraging Lambda functions for code executions and drive those Lambda functions using your Step Functions state machine.

12 Tasks

advanced

3hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

A solid understanding of Step Functions application patterns
Working knowledge of how to use Lambda functions to automate tasks within Step Functions
Hands-on experience with state machines and their components
Hands-on experience with error handling in Step Functions

Technologies
AWS logoAWS
Step Functions
Lambda logoLambda
S3 logoS3
SNS logoSNS
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

AWS Step Functions is a powerful process management service that you can use to orchestrate other AWS services, such as AWS Lambda. Within Step Functions, you’ll create state machines and event-driven workflows with multiple processes. 

This Cloud Lab is focused on different application patterns of Step Functions that you can use to orchestrate the Lambda functions more effectively. It also focuses on some Step Functions features that reduce the coding overhead and enable the users to focus more on their application. You’ll learn about the practical implementation of these functionalities by creating a document processing pipeline using Step Functions. You’ll start by creating the IAM roles required by different resources within the Cloud Lab. You’ll then create the AWS resources that will be operated using Step Functions. Once all that infrastructure has been set up, you’ll create the state machine leveraging different application patterns of Step Functions. You’ll then trigger the state machine and analyze the impact of these application patterns on the process. In the end, you’ll learn about the error-handling tools of Step Functions and use those tools to implement error handling in your pipeline.

By the end of this lab, you’ll have a strong understanding of how to utilize Step Functions effectively and use its features to make your tasks easier and streamline your workflows.

Here’s a high-level architecture diagram of the infrastructure that you’ll create in this lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Create the Required IAM Resources
Create the IAM Roles
3.Provision the Infrastructure Required for the State Machine
Create S3 Buckets
Create the Lambda Functions for Image Processing
Create the Lambda Functions for Text Processing
Create and Subscribe to an SNS Topic
4.Create and Test the State Machine
Create the State Machine
Create a Trigger for the State Machine
Test the State Machine
Implement Error Handling
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image