Use Iperf to check network speed between instances Virtual machines and raw metal servers.
iPerf is a command-line tool used in diagnosing network speed issues by measuring the maximum network throughput a server can handle. It is particularly useful when experiencing network speed issues, as you can use iPerf to determine which server is unable to reach maximum throughput.
See the link below
yum install iperf