Grab ec2 setup from rxin/spark-ec2 v3-sort branch.