************** Spot Request ************** description ============= This page shows how to make an offer for spot instances .. warning:: AWS automatically terminates the spot instances when the price exceed the maxium you set so make sure to backup the output of the processing tools. command-line ============= >>> ./EHPC-Client --spot-request --price= -r=REGION OPTIONS OPTIONS are the same as `--create mode <../createCluster.html>`_ The program will check every minute to see if the requested machines are running and then it will make the required configurations and print the url of the main node. **Example 1** Request ``2 m1.medium`` instance in ``eu-west-1`` where the maxium price is ``0.06`` $/hr ``./EHPC-Client --spot-add -r=EU1 -n=2 -t=m1.medium --price=0.06`` Output The program will check every minute if the instances started and if they ran, then it will set the configuration when they are started and print the url for the main node. **Example 2** Request ``4 m1.xlarge`` instance in ``eu-west-1`` where the maxium price is ``0.75`` $/hr and set ``/nfs`` as NFS directory on all machines/ ``./EHPC-Client --spot-add -r=EU1 -n=4 -t=m1.xlarge --price=0.75 --nfs-mountPoint=/nfs`` Output The program will check every minute if the instances started and if they ran, then it will set the configuration when they are started and print the url for the main node.