Make sure your key pair is configured to access whatever region you're deploying to - it defaults to us-east-1, but you can provide a custom one with parameter --region.

On Sat, Aug 30, 2014 at 12:53 AM, David Matheson <> wrote:
I'm following the latest documentation on configuring a cluster on ec2
(  Running
> ./spark-ec2 -k Blah -i .ssh/Blah.pem -s 2 launch spark-ec2-test
gets a generic timeout error that's coming from
  File "./", line 717, in real_main
    conn = ec2.connect_to_region(opts.region)

Any suggestions on how to debug the cause of the timeout?

Note: I replaced the name of my keypair with Blah.


View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail: