What information do I give AWS Support to diagnose CloudFront web distribution latency issues?
2 minute read
I opened a technical support case with AWS Support to troubleshoot latency issues with my Amazon CloudFront web distribution. I want to include the required information.
Note: You must have a Developer, Business, or Enterprise Support plan to open a technical support case.
Prepare the following information:
1. Gather the Amazon CloudFront request IDs for the requests with latency issues. Find the request IDs in one of the following ways:
From the X-Amz-Cf-Id HTTP response header returned by CloudFront. Use a utility such as cURL to retrieve the response header.
From the CloudFront access log. The request ID is in field number 15 of a web distribution log file.
2. Measure how long it takes to download the object from CloudFront. Also, measure how long it takes to download the object directly from the origin. Then, get the time difference between the two download methods.
To get this information, use a cURL command similar to the following:
4. Collect the TCP Traceroute or MTR reports for the CloudFront DNS or IP and the origin endpoint. For example, your endpoint might be in Amazon Elastic Compute Cloud (Amazon EC2) or an Application Load Balancer.