To auth, set these environment variables:
export AWS_ACCESS_KEY_ID= export AWS_SECRET_ACCESS_KEY=
Launch cluster like so:
./spark-ec2 --key-pair= --identity-file= --environment /home/mfg/enviroment.sh --slaves=2 --instance-type=m1.medium --region=eu-west-1 --user=ubuntu --ami=ami-9ec1ccea --spot-price=0.033 --cluster-type=standalone launch
The environment file is just a bash script that contains the commands to set the above environment variables:
If it goes wrong, resume by adding the --resume parameter.
Run ./spark-ec2 --key-pair= --identity-file= login
./spark-ec2 destroy