amplab / training

Training materials for Strata, AMP Camp, etc
150 stars 121 forks source link

Modify script to launch inside a VPC #154

Open sanjaysubramanian opened 10 years ago

sanjaysubramanian commented 10 years ago

Hi guys Can u modify or please provide guidance how to modify the script to launch cluster in a VPC . Or alternately please provide a way to make this script work thru a firewall...

This works in my private AWS account. But when I am inside company proxy it fails

./spark-ec2 -i ~/mycode/knowledge/amazon_certificates/KP-NonProd-Virginia-ITMCC.pem.cer -k KP-NonProd-Virginia-ITMCC --copy launch amplab-training

thanks

sanjay

sanjaysubramanian commented 10 years ago

I am looking at the boto run command here http://boto.readthedocs.org/en/latest/ref/ec2.html#module-boto.ec2.image The run(.....) signature seems different (possibly the the spark_ec2.py is using earlier version). This latest version of boto has the subnetID as a param Now the question is in the ampcamp4 how do I use subnetID as a param thanks sanjay