Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andreisavu/1766749 to your computer and use it in GitHub Desktop.
Save andreisavu/1766749 to your computer and use it in GitHub Desktop.
Setup a java development machine with Apache Whirr on EC2 or Rackspace
#
# A quick way to setup a basic development machine with Apache Whirr in Amazon
# with jdk1.6, maven 2.2, git, mercurial, subversion & vim
#
# Get Apache Whirr from here: http://whirr.apache.org/
# Read the Configuration Guide for more info:
# http://whirr.apache.org/docs/latest/configuration-guide.html
# Change the cluster name here (customise the name)
whirr.cluster-name=devmachine
# Change the number of machines in the cluster here
whirr.instance-templates=1 chef:build-essential+chef:java+chef:maven+chef:mercurial+chef:subversion+chef:vim
# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
whirr.provider=aws-ec2
whirr.identity=${env:AWS_ACCESS_KEY_ID}
whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
# By default use the user system SSH keys. Override them here.
# whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
# whirr.public-key-file=${whirr.private-key-file}.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment