from 0 to ~560c/m @ AWS EC2 g2.2xlarge:
0.
Set up your AWS instance:
In order to create a spot instance you need to get one on demand instance up, set everything up and create an AMI from it.
GPU instances only accept hvm AMIs (scroll down a bit on the Quick Start AMI selection)
This guide was written for Ubuntu 12.04.
Create a key pair if you dont have one already and download it.
When using putty on windows you need puttygen
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html to create a ppk file and select that ppk file under SSH > Auth in the putty menu
User for EC2 instances is ubuntu (on ubuntu instances)
From linux you connect via
ssh -i your_key_file ubuntu@ip_adress
Make sure you are root (sudo -s).
1.
Install cuda drivers and openCL:
apt-get update
apt-get -y upgrade
apt-get -y install gcc
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_5.5-0_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1204_5.5-0_amd64.deb
apt-get update
apt-get -y install cuda
export PATH=/usr/local/cuda-5.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:$LD_LIBRARY_PATH
apt-get -y install opencl-headers python-pip python-dev python-numpy python-mako
wget https://pypi.python.org/packages/source/p/pyopencl/pyopencl-2013.1.tar.gz#md5=c506e4ec5bc56ad85bf005ec40d4783b
tar -vxzf pyopencl-2013.1.tar.gz
cd pyopencl-2013.1
python setup.py install
shutdown -r now
System needs to reboot before we continue.
2.
Install required packages for building and build the cudapts miner (dont forget to be root):
apt-get -y install git make g++ build-essential libminiupnpc-dev libboost-all-dev libdb++-dev libgmp-dev libssl-dev yasm
apt-get -y install libboost-chrono1.48-dev libboost1.48-doc libboost-date-time1.48-dev libboost-filesystem1.48-dev libboost-graph-parallel1.48-dev libboost-graph1.48-dev libboost-iostreams1.48-dev libboost-locale1.48-dev libboost-math1.48-dev libboost-mpi1.48-dev libboost-program-options1.48-dev libboost-python1.48-dev libboost-random1.48-dev libboost-regex1.48-dev libboost-serialization1.48-dev libboost-signals1.48-dev libboost-system1.48-dev libboost-test1.48-dev libboost-thread1.48-dev libboost-timer1.48-dev libboost-wave1.48-dev
cd ~
git clone https://github.com/dave-andersen/cudapts
cd cudapts/src/
export PATH=$PATH:/usr/local/cuda/bin
make -f makefile.unix
3.
run the miner:
cd ~
export PATH=/usr/local/cuda-5.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64
cudapts/src/cudapts YOUR_PTS_ADRESS 0
4.
5.
Profit
(well maybe a bit too optimistic, but i was pretty excited learning all that)