Kitchen for the Google Play Crawler cluster
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7867263 Oct 20, 2014
Failed to load latest commit information.
definitions updates Jun 18, 2014
nodes-examples Updates Aug 6, 2014
roles Updates Aug 6, 2014
site-cookbooks leaderboard Oct 19, 2014
.gitignore Nodes configuration are kept private / apache-auth Apr 15, 2013
.ruby-version Updates Aug 6, 2014
Berksfile Updates Aug 6, 2014
Berksfile.lock Updates Aug 6, 2014
Gemfile Updates Aug 6, 2014
Gemfile.lock Updates Aug 6, 2014 updates Jun 18, 2014
Vagrantfile Update gems Jun 18, 2014 Ditching glusterfs Apr 23, 2013
chefignore mongodb Apr 13, 2013 Update gems Jun 18, 2014 Elasticsearch Apr 13, 2013

PlayDrone Kitchen

Production setup

Edit definitions/metal/ and put your own SSH keys. Then launch it on the machine to be included in the cluser with: definitions/metal/ SERVER_IP

Then install the playdrone environment. See the files in the nodes-example directory. Tweak them as needed, then run ./

This will:

  • Download the ubuntu 12.04 ISO and create the base VM image (only for dev)
  • Install vim-config, zsh-config, tmux-config (and keep them updated)
  • Install the basic sys admin tools (htop, sysstat, iftop, ...)
  • Setup the SSDs in RAID0 and mount on /srv (only in production)
  • Install graphite (with apache, django, memcached, rabbitmq) and Etsy StatsD
  • Install collectd configured to send data to graphite every 1s
  • Install elasticsearch 0.90.0.RC2 with Oracle JDK 7 in a cluster configuration with the plugins head, paramedic and inquisitor
  • Install nginx in front of elasticsearch for access control
  • Install RVM + Ruby 1.9.3-p327 with falcon patch + aggressive GC/heap tuning
  • Install irb-config

Once done, you can deploy playdrone with capistrano, from the playdrone repository.

Development setup

  1. Install VirtualBox.

  2. Make sure you have the latest RVM:

     curl -L | bash -s stable
  3. Install Ruby:

     rvm install ruby-1.9.3-p392
  4. Reload your shell (exit and come back).

  5. Run the bootstrap script:


Note: Do not type anything in the VM window during the creation of the base VM image, it may break the installation procedure.

PlayDrone Kitchen is released under the MIT license.