Just wanted to put up the script I've been using to create an Amazon EC2 Ubuntu instance for running RStudio, Git, and Jags. There isn't anything really new in here, but it it has been serving me well. The script begins after the basic instance has been set up in the Amazon EC2 console ( yhat has a nice post on how to do this, though some of their screenshots are a little old). Just SSH into the instance and get started.