# 8-8-2015 # start a nice big CPU intance: Ubuntu 64 bit c3.8xlarge # are a free instance: Ubuntu 64 bit t2.micro # update and general tools # ssh -i KEY.PEM ubuntu@IPADDRESS # in my case *.pem.txt sudo apt-get -y update # if next step wants to change GRUB pick "keep current" sudo apt-get -y upgrade sudo apt-get -y install git # reboot sudo reboot # ssh back in # ssh -i KEY.PEM ubuntu@IPADDRESS # in my case *.pem.txt # on local machine scp -i KEY.PEM ec2steps.bash ec2steps.R ubuntu@IPADDRESS: # on remote machine sudo bash ec2steps.bash