Play framework on AWS

Steps I took to get a Play framework app up and running on a micro AWS instance running Ubuntu 11.10

  1. sudo add-apt-repository "deb lucid partner"
  2. sudo apt-get update
  3. sudo apt-get install sun-java6-jdk unzip
  4. wget
  5. sudo unzip -d /usr/local/share/
  6. install Dominik Dorn's startup script
    1. wget
    2. sudo mv playframework /etc/init/
    3. update the script with proper paths 
  7. useradd username -g www-data -m -d /home/username -s /bin/bash
  8. install your app
  9. initctl start playframework