Author

Topic: [ANN][XCO] DarkCoin EC2 Mining Image and Tutorial (Read 11664 times)

hero member
Activity: 798
Merit: 1000
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.
newbie
Activity: 49
Merit: 0
hello. can i use vcc in amazon ec2? bcoz i dont have creit card
newbie
Activity: 52
Merit: 0
Hi,

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

thx.
full member
Activity: 168
Merit: 100
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
newbie
Activity: 5
Merit: 0
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.
legendary
Activity: 1288
Merit: 1000
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.....
member
Activity: 89
Merit: 100
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.
newbie
Activity: 1
Merit: 0
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?
legendary
Activity: 1176
Merit: 1036
Dash Developer
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
newbie
Activity: 2
Merit: 0
do you mean the 1.2c version?
legendary
Activity: 1176
Merit: 1036
Dash Developer
hi, which version of minerd did you use eduffield?#

greetings
mengus

1.2, there's a better one out now
newbie
Activity: 2
Merit: 0
hi, which version of minerd did you use eduffield?#

greetings
mengus
legendary
Activity: 1176
Merit: 1036
Dash Developer
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.
legendary
Activity: 1176
Merit: 1036
Dash Developer
member
Activity: 72
Merit: 10
AMI Region availability?
legendary
Activity: 1176
Merit: 1036
Dash Developer
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://bitcointalksearch.org/topic/anndash-dash-dashorg-first-self-funding-self-governing-crypto-currency-421615
Jump to: