Ethereum mining on windows azure

in #ethereum7 years ago (edited)

Mining ethereum / ethereum classic with K80 GPU is not a good idea. But, what if you got some free credits lying under your account. Then why not!

I used Azure NC24 instance to mine ethereum.

Caution: If you don't have free credit from azure then don't even think about mining on it. Because price of NC24 instance is $4.378/hr and there is no way you could mine even closer to it.

Hardware requirement and setup:

  1. windows azure NC6 / NC12 / NC24 instance
  2. ubuntu 16.04

Copy below scripts to your home directory.
change permissions so that you can execute it if you are saving it in a file and running it.

chmod u+x setup_script.sh

You can also run individual commands if you don't want to run a script.

Setup script:

wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install git cmake libcryptopp-dev libleveldb-dev libjsoncpp-dev libjsonrpccpp-dev libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 opencl-headers mesa-common-dev libmicrohttpd-dev build-essential cuda -y
git clone https://github.com/Genoil/cpp-ethereum/
cd cpp-ethereum/
mkdir build
cd build
cmake -DBUNDLE=cudaminer ..
make -j8
cd ethminer

Mining script:

export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./ethminer -G -F http://eth-eu.dwarfpool.com:80/0xba7f6E93C68f118Ca506b79135e0C509edEf9344/$HOSTNAME

YOU ARE ALL SET!
PS: Make sure to change ethereum address with your address.

►Donate Ethereum:
0xba7f6E93C68f118Ca506b79135e0C509edEf9344

►Donate Bitcoin:
1D3dM6v6gmWHseh1dkBXmow77BzuUi9uzv

►Donate Monero:
4JUdGzvrMFDWrUUwY3toJATSeNwjn54LkCnKBPRzDuhzi5vSepHfUckJNxRL2gjkNrSqtCoRUrEDAgRwsQvVCjZbS45KcZohsUkTELeEew

►Donate Dash:
Xu9j2qut9dnocpk91qcqyF3eFXJwmiacJL

►Donate Litecoin:
LhdQNuGGFAQVydFpYy16mFqFrgfgeEqKyW

Sort:  

How much did you get?

I burned around $100 but made significant amount of ETH and ETC out of it. I'll post Ethereum classic mining post soon. It's similar to this though.

yeah but how much eth did you mine? ^^

You also need to calculate current difficulty of mining. So, benchmark the GPU in MH/s and measure it based on current mining difficulty.

So why did you do that? :D

That's what I am saying.. I got free credit. And I wasn't gonna use it for some other purpose. So, I wanted to use it before it get expired.

A 100,000$ free credit? woooow

I am also playing around with this set up on Azure, Do you think the Stratum proxy would increase the Hashrate for either the M60 or K80? If so can you post a how to guide. Would def donate. I'm getting about 15 mh/s on the NV6 and 30 mh/s on the NV12

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

You got a First Reply

Click on any badge to view your own Board of Honnor 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!

I am also playing around with this set up on Azure, Do you think the Stratum proxy would increase the Hashrate for either the M60 or K80? If so can you post a how to guide. Would def donate. I'm getting about 15 mh/s on the NV6 and 30 mh/s on the NV12

Okay an MSDN subscription only gets you $150 monthly to spend. A rate of $4.378/hr means you can run for about a day and a half or 34 hours. If you get a "free" Azure subscription through your employer then you may want to be careful as any auditing system like "Azure Network Watcher" could possibly pick it up and you could lose your job.

Just be careful bro, but I love your Article and would love to hear more.