Bitcoin Forum
May 26, 2024, 11:07:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial  (Read 11664 times)
eduffield (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1036


Dash Developer


View Profile WWW
January 30, 2014, 02:46:50 PM
Last edit: February 05, 2014, 11:31:14 PM by eduffield
 #1

DarkCoin (DRK)



How to launch EC2 instances to mine Darkcoin


I made an EC2-AMI with roughly my settings for mining DarkCoin. This is the cheapest and easiest way I've found to mine, and it's pretty easy. Here's a short walkthrough of how to get up and running:


1.) Open an EC2 account
2.) Go to aws.amazon.com, click EC2, then "Spot Requests", click "Request Spot Instance"
3.) Change region to N. Virginia at the top right corner
4.) On the left side, click "Community AMIs" and search for "ami-afebd5c6"
5.) It should say Darkcoin-Public-Miner, Click "Select"
6.) Click "Compute Optimized", then find c1.xlarge, then "Configure Instance Details"
7.) Maximum price should be set to something about $0.10, "Review and Launch"
8.) "Launch"
9.) Wait for the instance to bootup, and ssh into it with ubuntu:PSM93zOtj6
10.) Edit crontab, find the minerd entry and replace my username with yours (signup with a pool if needed)
11.) Change the password, with passwd
12.) Right click the instance and click "Create Image" to make a new image that will use your password and username
13.) Boot a few instances up and it should just work

What is DarkCoin?: https://bitcointalk.org/index.php?topic=421615

Dash - Digital Cash | dash.org | dashfoundation.io | dashgo.io
digitsmith
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
January 30, 2014, 03:47:32 PM
 #2

AMI Region availability?
eduffield (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1036


Dash Developer


View Profile WWW
January 30, 2014, 06:07:58 PM
 #3

AMI Region availability?

N. Virginia!

Dash - Digital Cash | dash.org | dashfoundation.io | dashgo.io
eduffield (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1036


Dash Developer


View Profile WWW
February 03, 2014, 10:23:08 PM
 #4

I somehow managed to create a second instance without creating a spot request (with max price) for it.
This mistake cost me $50... Sad

Oh man, you've got to be careful about that. I've done that before and AWS refunded me the difference.

Dash - Digital Cash | dash.org | dashfoundation.io | dashgo.io
mengus
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 06, 2014, 12:50:41 PM
 #5

hi, which version of minerd did you use eduffield?#

greetings
mengus
eduffield (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1036


Dash Developer


View Profile WWW
February 07, 2014, 12:30:39 PM
 #6

hi, which version of minerd did you use eduffield?#

greetings
mengus

1.2, there's a better one out now

Dash - Digital Cash | dash.org | dashfoundation.io | dashgo.io
mengus
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 07, 2014, 01:27:29 PM
 #7

do you mean the 1.2c version?
eduffield (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1036


Dash Developer


View Profile WWW
February 07, 2014, 02:04:26 PM
 #8

do you mean the 1.2c version?

Yeah, I'll have to update the image when I get a moment, in the mean time if you want to update your ami:

The instructions to update the server are almost exactly what's in this tutorial: http://blog.kvvs.nl/?p=239/

it's missing a couple packages though, so you'll also need to run this:

sudo apt-get install automake libcurl4-openssl-dev

Dash - Digital Cash | dash.org | dashfoundation.io | dashgo.io
MaxPayne88
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 12, 2014, 10:47:37 AM
 #9

I have Problems with the ssh Service. They crated a pw .pem 4 me. Now i want to boot and I have to log in, but they ask me 4 my Passwort. what do i have to do?
Probleminfected
Member
**
Offline Offline

Activity: 89
Merit: 100


View Profile
February 12, 2014, 09:48:23 PM
 #10

I think I need my hand held with this guide.

I've got azure and digitalocean set up, but I'm having troubles with this one.
Lebubar
Legendary
*
Offline Offline

Activity: 1288
Merit: 1000



View Profile
February 14, 2014, 09:11:25 PM
 #11

I somehow managed to create a second instance without creating a spot request (with max price) for it.
This mistake cost me $50... Sad

Oh man, you've got to be careful about that. I've done that before and AWS refunded me the difference.

I also made a mistake...  Shocked
I saw the option in the instance windows : "action" -- "lauch more like this".... Mistake those new are'nt SPOTED instance so full prize : 0.58 /hour.

I call them and they also refund me ... Even more that what it cost me :
Amazon EC2 running Linux/UNIX ==> Wrong usage
         $0.580 per High CPU Extra Large (c1.xlarge) Linux/UNIX instance-hour (or partial hour)    70 Hrs    40.60$
Amazon EC2 running Linux/UNIX Spot Instances ==> good usage :
         High CPU Extra Large (c1.xlarge) Linux/UNIX Spot Instance-hour in US East (Virginia) in VPC Zone #7 (View Details)   440 Hrs 31.02$

They refund me 70 $    Grin Grin Grin Grin So use this carrefully, but for me I think is the cheaper using well SPOT instance.

So now I launch one by one instance using WELL the request SPOT instance.....
essjayeire
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 17, 2014, 09:46:29 PM
 #12

Hi guys....

Completely new to coin mining and figured I'd start with this tutorial. So first up, thanks a million for posting this how-to and it's gotten me most of the way there.

So I'm ssh'd into my instance and the first issue I have is editing the crontab to change the minerd entry. Can someone please tell me how to do that? I've done crontab -e and I can see an entry but cannot edit.

From there I thought I would try just running the command on this blog page: http://blog.kvvs.nl/?p=239/

./minerd -a X11 -o stratum+tcp://drk.lotterymining.com:4444 -u username.worker -p password

And changed the username, worker name and password as shown on the drk.lotterymining dashboard.

The message I'm getting back is

-bash: !mas: event not found

If anyone can point me in the correct direction it would be much appreciated.
HammerHedd
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
February 22, 2014, 02:41:30 PM
 #13

Hi guys....

Completely new to coin mining and figured I'd start with this tutorial. So first up, thanks a million for posting this how-to and it's gotten me most of the way there.

So I'm ssh'd into my instance and the first issue I have is editing the crontab to change the minerd entry. Can someone please tell me how to do that? I've done crontab -e and I can see an entry but cannot edit.

From there I thought I would try just running the command on this blog page: http://blog.kvvs.nl/?p=239/

./minerd -a X11 -o stratum+tcp://drk.lotterymining.com:4444 -u username.worker -p password

And changed the username, worker name and password as shown on the drk.lotterymining dashboard.

The message I'm getting back is

-bash: !mas: event not found

If anyone can point me in the correct direction it would be much appreciated.

I'm relatively new to using cloud-based servers, and I finally figured out how to launch a miner on start. This is probably not a great discovery , but it was the culmination of about 2 hours of instance launching frustration:

I use this simple script to launch an instance:

Code:
#!/bin/bash
cd /home/ubuntu
./ev.sh

obviously use whatever you like in place of ev.sh. I run a failover script, but I assume you can run minerd directly if you wanted to use the community AMI.

1. On Step three of the instance launch, go to the bottom of the page and expand "Advanced Details"

2. Type or paste your code into the User Data box and leave the first button (Send as text) checked.

That's it! It took me a while to figure out that amazon instances log you in a "ubuntu" (a  user with root-like access), but runs the start script AS root. This means, apparently, that ~./ev.sh doesn't go to the /home/ubuntu directory. This might be why I can't get crontab to work, either, but once I got it to work like this, I left it alone Smiley

DRK: XepkHLT2MYTXSFDc2muiGeA9eRzG6ytpSy       P2Pool: stratum+tcp://darkcoin.kicks-ass.net:7903
BTC: 1LVE3pFpAhSrHbiK5hAUWDeVrB5UrPXRkJ                    http://darkcoin.kicks-ass.net
vidocq
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
March 01, 2014, 06:20:25 PM
 #14

Hi,

What hashrate are you getting on the c1.xlarge spot instance ?

thx.
maddi
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
March 02, 2014, 11:43:02 PM
 #15

hello. can i use vcc in amazon ec2? bcoz i dont have creit card
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
June 10, 2014, 01:47:36 AM
 #16

Just found this thread. 

Is the EC2-AMI still available?  Has it been updated with CPUMiner 1.3 (if AES NI is available on ec2 that is).

What's the hashrate like?  I want to see if these aws instances are worth the cost compared to renting, or just creating/acquiring more GPU rigs.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!