Test if on EC2 before trying IAM role auth