How to Mine Zcash on Amazon EC2

hi all,
now for the ‘not waste of time’ version of mining zcash on amazon ec2.
use spot instances, around 32-64 cpus is fine.
paste the below into userdata, when setting up yr instances (this mines against zec.suprnova.cc)
have fun,
james

#!/bin/bash
sudo apt-get update
sudo apt-get install -y cmake build-essential libboost-all-dev git
git clone https://github.com/ocminer/nheqminer.git
cd nheqminer/nheqminer
mkdir build
cd build
cmake ..
make
./nheqminer -u <username.worker>

to mine against other pools, replace the 4th line with:
git clone https://github.com/feeleep75/nheqminer.git
and the last line with:
./nheqminer -l <poolname:port> -u <username.worker> -p x

so it looks like:
./nheqminer -l zec.coinmine.pl:7007 -u barrystyle.1 -p x

4 Likes