ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Service · Developer Tools · Known

AWS X-Ray

Follow one request across services to find the slow or failing part.

You know from Cloud Practitioner

  • X-Ray traces a request through every part of an application and draws a trace map.
  • It shows which part is slow or failing.
  • Lambda and API Gateway can send traces when you turn tracing on.
Read the Cloud Practitioner lesson

Recap

For this exam, X-Ray is the answer to “workload visibility” and to “find the bottleneck in a microservices application”. It samples requests rather than tracing every one. By default it records the first request each second and 5 percent of the rest, so the cost stays low. Use CloudWatch for health and alarms, X-Ray for the path of a request, and CloudTrail for who called an API.

Remember

  • The trace map shows components, their links, latency and errors.
  • Sampling: by default the first request each second plus 5 percent of the rest.

On the exam

  • “Find which microservice adds latency to a request” points to AWS X-Ray.