remove spaces
use $NF with awk to allow long hostnames
add ec2 hosts (IPs)