MarkSomethingDownLLS icon indicating copy to clipboard operation
MarkSomethingDownLLS copied to clipboard

AWS EC2 Reachability Test

Open moooofly opened this issue 6 years ago • 2 comments

地址

http://ec2-reachability.amazonaws.com/

效果图

image

moooofly avatar Dec 19 '18 08:12 moooofly

原理分析

  • 运行一次测试的整体情况

image

读图:

  • 针对每个 region 基于 IP Prefix 进行了细分,故测试样本更丰富、准确(当前存在 270 个测试 IP)
  • 从每个 region 内的不同 IP Prefix 里选择一个 IP 作为测试 target
  • 针对每个 target 进行一次 GET /green-icon.gif

image

image

读图:

  • 可以看到获取 green-icon.gif 是可以成功返回 200 OK 的
  • 可以利用 resp 进行 latency 获取

moooofly avatar Dec 19 '18 08:12 moooofly

问题

  • 该网站本意用于提供 Reachability Test ,因此并不关注 latency 问题,所以针对每个测试 IP 仅发起一次 GET 请求;
  • 这里的 Reachability Test 针对的是从用户本地 web 浏览器到 AWS 各个 region 的情况;并未提供 region 之间的 Reachability Test ;
  • 该网站提供 IPv6 测试无法正常使用

image

moooofly avatar Dec 19 '18 09:12 moooofly