- Launch one T2 micro instance, using Ubuntu 14.04 LTS AMI.
- Open SSH and Bitcoin Protocol TCP ports: 22, 8333.
- Attach 40GB EBS volume for blockchain storage to /dev/sdf.
- Attach 1GB EBS volume for swap to /dev/sdp.
The pricing should be ~3$ for the first year (assuming 30GB upload per month). See here for more details.
- Run as superuser:
add-apt-repository -y ppa:bitcoin/bitcoin
apt-get update -y
mkdir ~/.bitcoin/
apt-get install bitcoind -y
- Add the following to /etc/fstab configuration:
# /dev/xvdf is EXT4 filesystem under /home/ubuntu/.bitcoin
/dev/xvdf /home/ubuntu/.bitcoin ext4 defaults 0 0
# /dev/xvdp1 is a swap partition
/dev/xvdp1 none swap sw 0 0