Tracing Step Functions Errors Using AWS X-Ray
Tracing Step Functions Errors Using AWS X-Ray

CLOUD LABS

Tracing Step Functions Errors Using AWS X-Ray

In this Cloud Lab, you’ll use the Lambda function to perform operations on DynamoDB. You’ll use Step Functions to create the application logic and identify issues with the help of AWS X-Ray.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

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

Learning Objectives

An understanding of Step Functions and its application to orchestrate, coordinate, and optimize workflows across AWS services
Hands-on experience creating Lambda functions to perform operations on DynamoDB
Hands-on experience designing and visualizing our workflows using a state machine
The ability to debug and monitor state machines using AWS X-Ray

Technologies
AWS logoAWS
X-Ray
Step Functions
Lambda Function
DynamoDB logoDynamoDB
State Machine
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

AWS Step Functions helps build business-critical applications by integrating other AWS services. Step Functions provides built-in controls to examine the state of each step. It also helps ensure that your application runs in order and as expected.

AWS X-Ray helps analyze and debug distributed applications. You can use AWS X-Ray to monitor application traces, including the performance of calls to downstream components or services. X-Ray also helps identify issues and opportunities for optimization.

In this Cloud Lab, you’ll configure a state machine using AWS Step Functions and monitor the execution of your state machine using AWS X-Ray. The state machine will simulate a simple transaction processing service that uses a Lambda function to process the transactions. The transactions are validated using data stored in a DynamoDB table, and the transaction history is maintained in another DynamoDB table.

By the end of this Cloud Lab, you’ll be able to configure state machines using AWS Step Functions, set up Lambda functions, and configure DynamoDB tables. The provisioned infrastructure diagram by the end of this Cloud Lab is shown below:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.DynamoDB Configuration
Create DynamoDB Tables
3.Lambda Function Configuration
Verify Transactions
Add Transactions to the Backlog Table
4.Putting It All Together
Create a State Machine
Test the Workflow
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.

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