Make sure you have an account over at or any other mining pool you want to use. Log in to your AWS console and select the Ohio region. If you have some time you could check whichever region offers the cheapest spot instance prices at the time your requesting your instance and pick that one. Choose Spot requests and request a spot instance. In this example we are going to use a c4.8xlarge instance using the Ubuntu 16.04 image.

Make sure to create a security group allowing incoming and outgoing traffic. For the mining instances I spin up I just allow all outgoing and incoming traffic saving me from the hazzle to figure out which ports to open. Create or select a keypair you have access to and launch the instance.

Now connect to the instance and run the following code:

sudo apt-get update

sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++

git clone

cd cpuminer-multi

After the build is done we are going to launch the miner inside tmux
Type in ./cpuminer -a x16r -o stratum+tcp:// -u Weblogin.Worker -p WorkerPassword. Leave tmux with first pressing Ctrl + b and afterwards d. To confirm that your miner is running use htop or have a look over at your dashboard. If you have any questions, don’t hesitate to ask them here.


If you would be so generous as to send a donation:
ETH: 0xeefbE427F335A60bfdD69953082f7Aaa5F40E83A

Or just donate here: Crypto Joe’s Piggybank Donation

Leave a comment

Book a Call

How To Get In Touch With Us