How to query or measure packet latency between a Elastic Load Balancer(ELB) and a EC2 instance behind it?

0

My supervisor asked this question but I'm not sure how to scientifically measure it, currently I make several requests to a HTTP service and measure the time_starttransfer cURL statistic with the domain name resolving to the IP address of the ELB and the EC2 instance and subtract the numbers to provide an answer but I'm not sure this is the proper way to do so.

I also checked the CloudWatch dashboard and unable to found similar metrics, is there any?

I would like answers for either the NLB(OSI layer 4) and ALB(OSI layer 7), thanks in advance!

brlin
已提問 1 年前檢視次數 190 次
1 個回答
2

Have a look at the ALB logs, it does provide some latency information which may be benificial

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html

profile picture
專家
已回答 1 年前
profile pictureAWS
專家
kentrad
已審閱 1 年前
  • Thanks for the info, is there any ways to reveal the information in the NLB product?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南