Getting Started with AWS Step Functions
Getting Started with AWS Step Functions

CLOUD LABS

Getting Started with AWS Step Functions

In this lab, we'll use Step Functions to create a state machine that waits for a user to respond to an action and completes execution based on the user's response.

11 Tasks

beginner

2hr

Certificate of Completion

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

Learning Objectives

An understanding of the Step Functions service
The ability to create custom workflows and integrate with different AWS services
Hands-on experience creating asynchronous workflows
The ability to detect sensitive information in text using AWS Comprehend

Technologies
AWS logoAWS
SNS
IAM
Lambda
Comprehend
API Gateway logoAPI Gateway
Step Functions
Cloud Lab Overview

AWS Step Functions is a powerful orchestration service that can be integrated with many other Amazon services, such as Lambda. Using Step Functions, we can create workflows—known as state machines—where each state can perform different actions, such as evaluating conditional statements, integrating with a service, or performing different actions in parallel.

In this Cloud Lab, you'll create a state machine that searches for personally identifiable information (PII entities) in the input text and emails a user if it finds any sensitive information. It waits for the user to respond to the email before completing execution. You'll start by creating an SNS topic and subscription, then create a few Lambda functions to send the email and handle the callback. You'll also create a REST API so the user can interact with our infrastructure. Finally, you'll create a state machine that integrates all the resources to create the final workflow.

By the end of this lab, you'll have a strong understanding of the Step Functions service and will be equipped to create your own state machines.

Cloud Lab Tasks
1.Introduction
Get Started
2.Configuring the Required Resources
Create and Subscribe to an SNS Topic
Create an Execution Role
Detect PII Entities
Send the Alert Message
Handle the Callback
Create a REST API
3.Putting It All Together
Create a State Machine
Test the Workflow
4.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.

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