goes to correct Ec2 instance