Buy Me a Coffee

Thursday, December 14, 2017

How to mine Ethereum in 5 min


How to start your AWS Mining instance

  1. Go to your EC2 console in AWS and change the zone to US East (N.Virginia). 
  2. This zone happens to be the cheapest for the type of instance we’ll be using, 
  3. and also contains a community AMI that has all the required mining libraries already
  4. installed for instant use.
  5. Under Instances, select Spot Instances and click ‘Request Spot Instances’.
  6. Search for a community AMI called ami-cb384fdd and select it.
  7. Under Instance type choose g2.8xlarge.
  8. Review and Launch!

How to start mining

To start mining, you’ll need an Ethereum wallet and to join a mining pool.
To generate a wallet, simply go to https://www.myetherwallet.com and follow the steps. By the end of the process, you’ll receieve a wallet address.
We’ll be using Dwarfpool for mining, which is rated in the top best mining pools. Feel free to use others if you like.
Simply SSH to your instance and type:
> tmux
> ethminer -G -F http://eth-eu.dwarfpool.com/{WALLET ADDRESS}/{YOUR_EMAIL ADDRESS} --cl-local-work 256 --cl-global-work 16384
Tmux allows you to keep a process running after closing your SSH connection.
Ethminer is an Ethereum GPU mining worker. Entering your email address allows you to receive notifications on payouts. The other parameters are for mining optimizations.
That’s it!


Source: https://hackernoon.com/how-to-mine-ethereum-in-5-min-3f3bc80d0c4b

1 comment: