Drinkin gasoline and wine

post zenmachine musings

Ye Olde Devops Notes and Links

Note: this is an old post that I’ve had for months in my pipeline waiting for another project.

late night chats with cv - intended to be published somewhere at it’s never Lispus

This a summary of a gtalk chat on a deploy/keep it simple workflow w/o touching on devops or any other diatribes. Mostly interesting links and notes I’ve extracted from the chat history.

@cv + @gleicon

using http and memcached as messaging protocols

  • clients everywhere
  • sanitize following their rules (http timeouts/memcached keys)
  • they are not transports so short messages
  • pool strategies (more than one connection)
  • reconnect strategies

using lxc and rootfs images

  • rootfs can run on KVM and LXC (probably vbox ?)
  • vagrant/simplestack to interface to local/external VMs (would need to patch vagrant, etc)
  • use ubuntu/whatever new image with all bundled software

package when tagged

  • bricklayer/fpm/rpmbuild/etc
  • deploy images around before committing to production release
  • no need for conf management if the image is already loaded

good images

  • new software
  • redis/memcached up and running at localhost
  • few configuration items (localhost or ENV var)
  • use buildpacks
  • bake images with packaged + tagged production version, distribute over nginx

deploy

  • fetch images
  • deploy on VMs/LXC
  • instrument images with watchdog agent
  • messages over queue/http queue/pubsub
  • one server lost -> spin new server
  • loadbalancer ?
  • monitoring: riemann for real distributed stuff/uptime for local

links

  • https://github.com/cv/escape-server-config (config server management)
  • https://github.com/locaweb/bricklayer (packaging app server)
  • http://www.stgraber.org/2012/03/04/booting-an-ubuntu-12-04-virtual-machine-in-an-lxc-container/ (linux containers)
  • https://github.com/locaweb/simplestack (hypervisor api)
  • http://vagrantup.com/
  • http://blog.heroku.com/archives/2012/7/17/buildpacks/
  • https://github.com/ddollar/mason (buildpack automation)
  • https://github.com/peterkeen/dokuen (mini paas)
  • https://github.com/ddollar/foreman (app control)
  • https://github.com/fzaninotto/uptime (uptime monitoring)
  • http://www.openresty.org/ (nginx +lua + redis dynamic vhost)
  • http://graylog2.org/
  • https://github.com/locaweb/logix (graylog2 syslog -> amqp for graylog2)
  • https://github.com/gleicon/python_dns_servers (possible dynamic dns)’

Comments