Ether mining on AWS Strategy and Hashrate calculations

in etherium •  7 years ago 

Motivation

Recently I got some free aws credits, So I was just wondering if I can it for Etherium mining on AWS. And Eventually I was able to successfully mine some good amount of etherium. Cost wise its not at all efficient but here it goes just in case you are interested

Assumptions

  • You understand how EC2 works in AWS, especially things like spot machines and spot-fleet.
  • You understand basic Linux commands.

Steps to etherium mining:

  • There is no point of mining with CPU because hashrate will be terrible, so we will focus on two types of machines: g2.2xlarge($0.16/hr), p2.xlarge($0.18/hr), pricing which is mentioned is spot pricing, which this will be taken back aws if your bid is lower than current ongoing bid.
  • Okay so first launch a machine with image ami-cb384fdd in N.Virginia region.
  • Once machine is launched ssh into the machine
  • You can any mining pool, I used dwarfpool.
  • Run this command: nohup ethminer -G -F http://eth-eu.dwarfpool.com/${YOUR_ETH_ADDREES} &
  • Mining should start now.

Results

I got below hashrates:

  • g2.2xlarge : 7 MH/s
  • p2.xlarge : 10 MH/s

How much did I make:

For 10 Hrs with 10 machines, which generated 124 MH/s, I make something like 3$. Total aws cost was approx 18$. So like I said before, mining on aws is not economical.

I will be writing a part 2 to this, how can setup spot fleet, that will just keep on mining etherium, even if machine is stopped by aws, as soon as you get the replace you should be able to mine again without human intervention.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @padmakarojha! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You made your First Vote
You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @padmakarojha! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!