Using Bootstrap for AWS
Some limitations of AWS:It was dated Jan, 2011, not test it for the current system. But I guess I have to pay attention to or test it a little bit.
1. Not good for input data > 5GB
2. Not running more than 20 instances.
boostrap is really a noisy thing for me, since it’s hard to predict the output. Here’s the code for installing R(randomForest), Python(simple json).
# turn on logging and exit on error
set -e -x
sudo apt-get install python-setuptools
sudo easy_install simplejson
#debian R upgrade The R version used by Amazon is really old. The solution is to update it with the following script
echo "deb http://streaming.stat.iastate.edu/CRAN/bin/linux/debian lenny-cran/" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -t lenny-cran install –yes –force-yes r-base r-base-dev
echo "install.packages(‘randomForest’,repos=’http://cran.r-project.org‘)" | sudo R –no-save