Skip to content

Instantly share code, notes, and snippets.

@mpobrien
Created May 14, 2012 17:03
Show Gist options
  • Save mpobrien/2695086 to your computer and use it in GitHub Desktop.
Save mpobrien/2695086 to your computer and use it in GitHub Desktop.
# Change the cluster name here
whirr.cluster-name=mongotesting
# Change the number and roles of machines in the cluster here
#whirr.instance-templates=1 mongodb-standalone
#whirr.instance-templates=2 mongodb-replsetmember,1 mongodb-arbiter
whirr.instance-templates=3 mongodb-replsetmember
# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
whirr.provider=aws-ec2
whirr.identity= ... #AWS_ACCESS_KEY_ID here
whirr.credential= ... #AWS_SECRET_ACCESS_KEY here
# By default use the user system SSH keys. Override them here.
whirr.private-key-file= ... # full path to private key file
whirr.public-key-file= ... # full path to public key file
# To install a specific version of mongodb, put the URL of the tarball to download here
# if omitted, the latest available version from package management repo will be used
#whirr.mongodb.tarball.url=http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.1.0.tgz
#whirr.mongod.standalone.port=27017
mongodb.replset.port=27017
mongodb.replset.name=test_replset
#Some startup parameters for mongodb can be changed here
mongodb.nojournal = true
mongodb.oplogSize = 100
#mongodb.bindip = 0.0.0.0
#mongodb.auth.username=mike
#mongodb.auth.password=sup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment