- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Orchestrating Serverless Workflows with AWS Step Functions
Get hands-on with AWS Step Functions by refactoring a serverless API to use parallel functions. Update an existing RESTful API by creating a new email notification function, then ensure that function runs parallel to the existing PUT functionality by creating a Step Function state machine and updating the API endpoint to reference that machine.

Lab Info
Table of Contents
-
Challenge
Verify Email in SES
To be able to test the API, add and verify your own email to Amazon SES.
-
Challenge
Create the Email Lambda Function
Using the code provided, create a new Lambda function to send an email using SES. Test the function with a test event.
-
Challenge
Create the Step Function Workflow
Use AWS Step Functions to create a Step Function state machine that runs both the new email and existing PUT function in parallel.
-
Challenge
Update the API Gateway
Update the existing PUT endpoint in the API Gateway to leverage the new Step Function. Do this by updating the integration request, as well as the method and integration responses.
-
Challenge
Test the API
Using
curl
and the AWS CloudShell, test the API by hitting the PUT endpoint and trying to add a new order.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.