EC2 driver modification to check connection to endpoint without creating instance