I want to understand how to set up everything to be able to have a iPython notebook and pyspark working.
I currently have a ec2 instance.
Tell me if I'm wrong but I think I can either use this :
./spark-ec2 --key-pair=awskey --identity-file=awskey.pem --region=us-west-1 --zone=us-west-1a --spark-version=1.1.0 launch my-spark-cluster
or this :
aws emr create-cluster --name "Spark cluster" --release-label emr-4.1.0 --applications Name=Spark --ec2-attributes KeyName=myKey --instance-type m3.xlarge --instance-count 3 --use-default-roles
Is there really a big difference between those two ?
To write and execute my scripts, I should be on the master node, right ?
So, the ec2 instance I'm using to get Spark running won't be used ?
(I have to install the ipython notebook on the master node ?)
Thanks in advance for your help.
(I've looked for tutorials but I did not found exactly what I was looking for.
Do you know good ones ?)