ec2 example update

add wait_for to check for instance availability on ssh port.