This shows how to create an EMR (Elastic Map Reduce) cluster on AWS
Notes
>>> ,.EHPC-EMR --create OPTIONS
All parameters should be in format parameter=value
--num-instances, -n number of instance in the cluster, default 1
--instance-type, -t type of cluster instances, default m1.small
--install, -i comma seprated list of bootstrap scripts to run
--region, -r region to start the cluster in,e.g. eu-west-1, us-east-1, default us-east-1
--options pass other options to AWS Client
AWS Credentials:
--acessKey, -a access to start the cluster with
--privateKey, -p private key to start tne cluster with
--key-pair, -kp name of the keypair with start the cluster with
--key-pair-file, -kf path of the keypair file
Example 1
Start a EMR Cluster of 4 nodes of type m1.large in us-east-1
./EHPC-EMR --create -n=4 -t=m1.large
Output
DNS of new Cluster
Example 2
Start a EMR Cluster of 3 nodes where the main node of type m1.large and other 2 is of type m1.xlarge
./EHPC-EMR --create -n=3 -t= --options="--master-instance-type m1.large --slave-instance-type m1.xlarge
Output
DNS of new Cluster