- Lab
- A Cloud Guru
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.
Path 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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.