Bitcoin Forum

Alternate cryptocurrencies => Announcements (Altcoins) => Topic started by: eduffield on January 30, 2014, 02:46:50 PM



Title: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: eduffield on January 30, 2014, 02:46:50 PM

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


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: digitsmith on January 30, 2014, 03:47:32 PM
AMI Region availability?


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: eduffield on January 30, 2014, 06:07:58 PM
AMI Region availability?

N. Virginia!


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: eduffield on February 03, 2014, 10:23:08 PM
I somehow managed to create a second instance without creating a spot request (with max price) for it.
This mistake cost me $50... :(

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


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: mengus on February 06, 2014, 12:50:41 PM
hi, which version of minerd did you use eduffield?#

greetings
mengus


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: eduffield on February 07, 2014, 12:30:39 PM
hi, which version of minerd did you use eduffield?#

greetings
mengus

1.2, there's a better one out now


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: mengus on February 07, 2014, 01:27:29 PM
do you mean the 1.2c version?


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: eduffield on February 07, 2014, 02:04:26 PM
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


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: MaxPayne88 on February 12, 2014, 10:47:37 AM
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?


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: Probleminfected on February 12, 2014, 09:48:23 PM
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.


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: Lebubar on February 14, 2014, 09:11:25 PM
I somehow managed to create a second instance without creating a spot request (with max price) for it.
This mistake cost me $50... :(

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...  :o
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 $    ;D ;D ;D ;D 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.....


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: essjayeire on February 17, 2014, 09:46:29 PM
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.


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: HammerHedd on February 22, 2014, 02:41:30 PM
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 :)


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: vidocq on March 01, 2014, 06:20:25 PM
Hi,

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

thx.


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: maddi on March 02, 2014, 11:43:02 PM
hello. can i use vcc in amazon ec2? bcoz i dont have creit card


Title: Re: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial
Post by: jedimstr on June 10, 2014, 01:47:36 AM
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.