the assumption that the hostname in EC2 is no longer right and the URL to get public dns has changed