Debugging Microservice-based Applications using AWS X-Ray

Debugging Microservice-based Applications using AWS X-Ray
Debugging Microservice-based Applications using AWS X-Ray

CLOUD LABS

Debugging Microservice-based Applications using AWS X-Ray

In this Cloud Lab, we’ll learn how to use AWS X-Ray to detect latency issues in an application and examine end-to-end tracing.

9 Tasks

intermediate

1hr 30m

Certificate of Completion

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

Learning Objectives

Hands-on experience creating and managing DynamoDB tables
The ability to create a REST API on Amazon API Gateway and integrate it with a Lambda function
Understanding of AWS X-Ray and how to use it for end-to-end tracing and latency detection
The ability to analyze and debug performance issues using X-Ray traces and service maps

Technologies
Lambda logoLambda
API Gateway logoAPI Gateway
X-Ray
DynamoDB logoDynamoDB
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

AWS X-Ray is a service that helps developers analyze and debug distributed applications by providing a detailed view of requests as they travel through the application. With X-Ray, developers can gain insights into the performance of their applications and optimize them to deliver a better user experience.

In this Cloud Lab, you will learn how to create a REST API on Amazon API Gateway and integrate it with AWS Lambda and DynamoDB. You will also enable X-Ray tracing to examine end-to-end tracing and detect latency issues. You will then view the service map to understand your application’s infrastructure and use AWS traces to debug performance issues.

By the end of this Cloud Lab, you will have mastered X-Ray for comprehensive tracing, detecting, and resolving performance issues. With this knowledge, you can troubleshoot and optimize your APIs for better performance and enhanced user experience.

The following is the high-level architecture diagram of the infrastructure you’ll create in this lab.

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Build the REST API
Create a DynamoDB Table and an IAM Role
Create a Lambda Function
Configure the API
3.AWS X-Ray
Enable X-Ray for Provisioned Resources
End-to-End Tracing
Resolving Latency Issues Using Service Map
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