Author Topic: [GUIDE] Mining on Amazon EC2 using Spot instances  (Read 38128 times)

0 Members and 1 Guest are viewing this topic.

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #47 on: November 15, 2013, 07:11:51 pm »
Are people still making a killing with this?
Through various providers, I got a few free VMs to test, some of them have pretty good specs (like on Azure), but I get maybe 5PTS a day... Unless PTS go crazy high I'm not sure how interesting this is... especially when I will have to pay...

What are the things I'm missing to make this profitable?

It was much better a couple days ago when difficulty was 0.000120 instead of 0.000514

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #46 on: November 15, 2013, 07:05:12 pm »
Like a hammer to the head.

You can't sudo without a TTY connection therefore sudo on the user-data commands do not working.

Offline gee

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #45 on: November 15, 2013, 02:56:12 am »
Are people still making a killing with this?
Through various providers, I got a few free VMs to test, some of them have pretty good specs (like on Azure), but I get maybe 5PTS a day... Unless PTS go crazy high I'm not sure how interesting this is... especially when I will have to pay...

What are the things I'm missing to make this profitable?
« Last Edit: November 15, 2013, 02:58:40 am by gee »
PTS: PrMPxrY1cG6ftfpy3Ae5NEBhW7bqNbVZU5

Offline x0rcist

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #44 on: November 15, 2013, 02:01:13 am »
Profitability on AWS is very low right now. I shut all mine down. I hope people are doing their math or they will be in for a surprise when they get that bill. It's easy to get carried away trying to mine.

Unless you have a fleet of 1500 :P

then still the ROI would be the same

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #43 on: November 15, 2013, 01:29:43 am »
Profitability on AWS is very low right now. I shut all mine down. I hope people are doing their math or they will be in for a surprise when they get that bill. It's easy to get carried away trying to mine.

Unless you have a fleet of 1500 :P

Offline rando

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #42 on: November 15, 2013, 12:25:16 am »
Profitability on AWS is very low right now. I shut all mine down. I hope people are doing their math or they will be in for a surprise when they get that bill. It's easy to get carried away trying to mine.

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #41 on: November 14, 2013, 11:03:04 pm »
Works fine from the command line once the system gets started, but doesn't look like its executing when the instance is first starting up.

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #40 on: November 14, 2013, 10:38:40 pm »
Yeah, they are upping the prices and killing my sessions now.
It was fun while it lasted!
 8)

Offline nanobit

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #39 on: November 14, 2013, 10:27:38 pm »
Based on my testing it's getting very difficult to get positive ROI when mining on EC2.

Offline xhor

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #38 on: November 14, 2013, 10:00:00 pm »
#! /bin/bash
sudo yum -y update
sudo yum -y install git build-essential htop libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev screen gcc gcc-c++ compat-gcc-32 compat-gcc-32-c++ boost.x86_64 boost-devel boost libzip-devel.x86_64 glibc glibc-devel glibc-static zlib zlib-devel zlib-static cmake
git clone https://github.com/thbaumbach/ptsminer
cd ptsminer
cmake .
make
echo '#! /bin/bash' > startPS.sh
echo 'screen -d -m -S ptsminer /home/ec2-user/ptsminer/ptsminer PbwQHoJi7PKt9KCujbscNWfH43J4aCpPmN 12' >> startPS.sh
chmod +x startPS.sh
./startPS.sh

Doesn't look like its being executed during startup. Anything else I should do?


First, validate your script by executing it manually as root on a brand new instance. Then when validated, put it as User Data, as you did, and then when the instance starts, log in quick and follow the progress of your commands by listing the processes (ps aux). If that doesn't help, output the stdout/err of your script in some log file.

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #37 on: November 14, 2013, 09:49:54 pm »
Can't get the scripts to auto execute when starting up. Any suggestions - adding it to the Advanced details.

Number of instances 1.
Request spot instance checked.
Advanced Details
Kernel - use default
Ram Disk - use default
User data - As Text
#! /bin/bash
sudo yum -y update
sudo yum -y install git build-essential htop libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev screen gcc gcc-c++ compat-gcc-32 compat-gcc-32-c++ boost.x86_64 boost-devel boost libzip-devel.x86_64 glibc glibc-devel glibc-static zlib zlib-devel zlib-static cmake
git clone https://github.com/thbaumbach/ptsminer
cd ptsminer
cmake .
make
echo '#! /bin/bash' > startPS.sh
echo 'screen -d -m -S ptsminer /home/ec2-user/ptsminer/ptsminer PbwQHoJi7PKt9KCujbscNWfH43J4aCpPmN 12' >> startPS.sh
chmod +x startPS.sh
./startPS.sh

Doesn't look like its being executed during startup. Anything else I should do?



Offline joele

  • Sr. Member
  • ****
  • Posts: 467
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #36 on: November 14, 2013, 12:10:05 pm »
slicify.com has free servers!
Awesome I didn't know about them, thank you!

I tried slicify.com and everytime I found share always invalid share, reason : Share data time underflow.
Any idea how to fix this?

Yeah, set the time :D
https://help.ubuntu.com/10.04/serverguide/NTP.html
Thanks but it won't allow me
14 Nov 13:29:07 ntpdate[4504]: bind() fails: Permission denied
and also when saving the cron file, Permission denied
Any idea?

sudo su
apt-get install ntp
then the ntp command from the link

but some of those slicify instances are odd, booked the i7 but that guy got no internet access configured or something, didnt bother to look much further ^^

Nice, No more permission denied, need to try it but ypool is down.

Thanks for the help. :)

Offline Sy

  • Full Member
  • ***
  • Posts: 91
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #35 on: November 14, 2013, 11:17:41 am »
slicify.com has free servers!
Awesome I didn't know about them, thank you!

I tried slicify.com and everytime I found share always invalid share, reason : Share data time underflow.
Any idea how to fix this?

Yeah, set the time :D
https://help.ubuntu.com/10.04/serverguide/NTP.html
Thanks but it won't allow me
14 Nov 13:29:07 ntpdate[4504]: bind() fails: Permission denied
and also when saving the cron file, Permission denied
Any idea?

sudo su
apt-get install ntp
then the ntp command from the link

but some of those slicify instances are odd, booked the i7 but that guy got no internet access configured or something, didnt bother to look much further ^^
ptsweb.beeeeer.org Stats

Offline svd

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #34 on: November 14, 2013, 11:01:13 am »
apt-get install ntp :)

donations:
PuYS74wpW97jvMUNsm2Nj6vr6zaD12dthx

already got 2 pts from doners :)

Offline joele

  • Sr. Member
  • ****
  • Posts: 467
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #33 on: November 14, 2013, 10:30:48 am »
slicify.com has free servers!
Awesome I didn't know about them, thank you!

I tried slicify.com and everytime I found share always invalid share, reason : Share data time underflow.
Any idea how to fix this?

Yeah, set the time :D
https://help.ubuntu.com/10.04/serverguide/NTP.html
Thanks but it won't allow me
14 Nov 13:29:07 ntpdate[4504]: bind() fails: Permission denied
and also when saving the cron file, Permission denied
Any idea?