This assumption will lead to confusing errors when deploying Spark on non-EC2 clusters.  If checking for `ec2-metadata` isn't sufficient to detect that we're running on EC2, maybe we could just use an `IS_EC2` environment variable that users manually set.