moriya9n.github.io

View My GitHub Profile


kindle 本ベストセラー

みんなのFX

28 May 2018

Monero CPU mining with xmr-stak on aws

by moriya9n

Monero CPU mining with xmr-stak on aws

CPU mining is still possible on Monero. It’s defferent from other crypto currencies such as bitcoin, ethreum, etc. It’s fair.

This guide shows you an easy way to mining Monero using xmr-stak on AWS spot instances without installation.

For cost reduction, I use instances supporting instance storage (so no ebs needed) and download program as specified in “user data”.

Note that it’s not profitable yet. (About 35H/s per cpu. Calculate at CryptoCompare)

on EC2 dashboard

  1. create key pair

  2. launch templates AMI ID ami-994db2e4 instance type m3.medium Key pair name select key name as created at step 1 advanced details / user data Enter as follows.

     #!/bin/bash
     wget http://monerocpuminer.s3-website-us-east-1.amazonaws.com/xmr-stak
     chmod u+x xmr-stak
     yum -y install hwloc
     ./xmr-stak -O xmr-us-east1.nanopool.org:14433 -u MONERO_ADDRESS.ANY_ID -p "" -r "" --currency monero7
    
    • MONERO_ADDRESS is a wallet address of smartphone applications.(can be exchange address?)
    • ANY_ID can be anything. It is shown as worker name on nanopool.
    • If you feel this site is untrust, put compiled xmr-stak on your site and wget from the site.
  3. spot requests i. request spot instances ii. enter “Total target capacity” as you like iii. select “Launch template” registered at step 2 iv. modify parameters as you like. “EBS only” instance doesn’t work.

Show mining status

go to nanopool and enter “Address”

Note

tags: