Change server_dns_name method to get the last ec2 server found