sudo apt-get install iperf3
sudo yum install iperf3 -y
sudo iperf3 -s -p 5001
sudo iperf3 -c <Public IP of EC2 instance/on-premises host> --parallel 2 -i 1 -t 2
sudo iperf3 -s -u -p 5001
sudo iperf3 -c <Public IP of EC2 instance/on-premises host> -u -b 5g
sudo amazon-linux-extras install epel -y && sudo yum install hping3 -y
sudo yum --enablerepo=epel install hping3 -y
sudo apt-get install hping3
sudo hping3 -S -c 50 -V <Public IP of EC2 instance/on-premises host> -p 22