Skip to content

Instantly share code, notes, and snippets.

@filipnyquist
Created October 28, 2016 05:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save filipnyquist/75343cb362c2481c39bfcab0a3671508 to your computer and use it in GitHub Desktop.
Save filipnyquist/75343cb362c2481c39bfcab0a3671508 to your computer and use it in GitHub Desktop.
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1
2. Click: "Request Spot Instances"
3. Request type: "Request and Maintain"
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section.
5. In "AMI" search for "docker". Pick any one of the results.
6. Select "m4.2xlarge" in the "Instance Types" section.
7. Scroll to the bottom and click "Next"
8. Scroll to "Set user data" section and paste the following:
#!/bin/bash
while :
do
sudo docker run marsmensch/zcash-cpuminer -l zec.suprnova.cc:2142 -u xxxx -p x
done
Replace all the `xxxx` bits with your actual worker credentials for each pool.
9. Scroll down and click "Next"
10. Scroll down and click "Launch"
If you found this useful feel free send a donation to: No adress yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment