AWSのEC2のネットワークの速度を測定する
speed-cliを使ってAWSのインスタンスのネットワーク速度の測定をします
測定方法
install speedtest-cli
sudo apt-get install python-pip
sudo pip install speedtest-cli
sudo pip install speedtest-cli --upgrade
測定
$ speedtest-cli --bytes Retrieving speedtest.net configuration... Testing from Amazon (*************)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by at2wn (Yokohama) [24.99 km]: 35.168 ms Testing download speed................................................................................ Download: 37.36 Mbyte/s Testing upload speed.................................................................................................... Upload: 13.65 Mbyte/s
こんな感じで回線の速度測定がcliで出来ました