- Create Key Pairs for accessing your instances in the correct region, default is: eu-west-1 (Ireland).
- Enter Key Pair names into conf/instances.cfg at 'key-name'.
- Enter your Secret Key and Key ID into /conf/instances.cfg (key-ID,aws-secret-key).
- Run {python StartInstances.py}.
- Wait for cluster to be running and access the YARN interface via the URL given from the script.
- Press any key to terminate your cluster. Or do it manually via the Amazon|OpenStack web interface.
- When working with Amazon instances only key-name and Amazon credentials (key-ID,aws-secret-key) must be changed in order to run a cluster.
- Adjust configuration file towards your needs.
- ip-access: The IP which is given SSH access. Default is every IP address. Because the instances are protected via the Key Pairs there is no need to change that.
- spot-price: The script acquires spot instances, which are placed in the same availability zone so that fast and free transfer between nodes is ensured.
- user-data-file: The script which is given for execution at start-up.
- cluster-name: Instances are put into the same availability zone. When starting different clusters use different names otherwise all instances will be put into the same availability zone. That might lead to restrictions with spot instances.
- region: Amazon region in which to start the instances. Has to be changed for OpenStack.
- image-ID: Defines which image is used as a base for provisioning.