recursively retrieve ec2 instance data via http.get