Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Eight-Fingered Chef

The Eight-Fingered Chef

Watch it online: http://confreaks.com/videos/2633-madisonruby2013-the-eight-fingered-chef

Chef is a great tool for managing a vast and complicated server infrastructure, but what if you have fewer servers than fingers? What if you just want a simple little box to host a Rack app? Maybe a staging server to match or a CI server? With little or no prior knowledge of Chef, you can set up a server fairly quickly if you know the right way to set up your kitchen. (They don’t make it obvious. I’ve lost a few fingers in the process.) We’ll walk through the basics of Vagrant, Chef-solo, Knife-solo, and using community cookbooks.

Transcript of live coding: https://gist.github.com/jgarber/6328999

Presented by Jason Garber at Madison Ruby Conf. https://www.promptworks.com

99e2a6afab542ba98a9f1d1cae6c9670?s=128

PromptWorks

August 24, 2013
Tweet

Transcript

  1. The Eight- Fingered Chef Jason Garber

  2. None
  3. None
  4. Infrastructure Automation

  5. Web App

  6. Web App PostgreSQL

  7. Web App PostgreSQL ElasticSearch

  8. Web App PostgreSQL ElasticSearch Memcached

  9. Web App PostgreSQL ElasticSearch Memcached Sidekiq

  10. Web App PostgreSQL ElasticSearch Memcached Sidekiq API API API

  11. None
  12. None
  13. None
  14. None
  15. Infrastructure as Code

  16. None
  17. DECLARATIVE I D E M P O T E N

    T CONVERGENT
  18. package "cowsay" user "jason" do comment "Jason Garber" uid "4545"

    gid "staff" shell "/bin/bash" end directory "/etc/datacenter" do mode 0755 owner "jason" group "staff" action :create end
  19. Environment Node Node Environment Node Node Node Environment Node Node

    Role Recipe Recipe Cookbook Recipe Recipe Cookbook Role Recipe Recipe Cookbook Recipe Recipe Cookbook
  20. CI Node Node Production Node Node Node QA Node Node

    web_app Recipe Recipe nginx Recipe Recipe ruby database Recipe Recipe postgresql Recipe Recipe backup
  21. Your Workstation Node Node Chef Server

  22. Your Workstation Node Node Chef Server

  23. Your Workstation Node Node Chef Server

  24. Your Workstation Node Node Chef Server

  25. Your Workstation Node Node Chef Server

  26. Your Workstation Node Node Chef Server

  27. Node Node Chef Solo

  28. None
  29. Your Workstation Node Node matschaffer/knife-solo

  30. LiveCoding https://gist.github.com/jgarber/6328999

  31. • learnchef.com • ChefConf 2013 on YouTube • The Food

    Fight Show More Resources
  32. @jasongarber @promptworks jason@promptworks.com