Cooking with Chef - Your servers will thank you
summary
Chef code actually configures systems: recipes install packages, manage services, render ERB templates and notify restarts only when diffs change because resources are idempotent. Real fixes include HAProxy SSL needing protocol set to TCP plus ssl_hello_check (saves hours of debugging), heartbeat recipes that map hostnames to virtual IPs for failover, and a security recipe that applies iptables rules and disables password auth in sshd so new machines are provisioned locked down automatically. Cluster example: largest build was ~35 nodes.
AI-written summary · about
chapters (27)
- 0:00Introduction
- 1:20System and Work
- 2:00Configuration Languages
- 2:20No support for configuration languages
- 3:02An esoteric detail
- 4:25The UNIX way
- 4:45What is Chef
- 5:10Why Chef
- 6:17Recipe
- 7:34Service
- 8:04Enable Service
- 8:35Templates
- 8:56Restarting MySQL
- 10:13ERBE
- 11:49Chef Attributes
- 13:28Cookbook Repository
- 15:06Examples
- 15:20Attributes
- 15:57SSL
- 16:22Template
- 16:37Sharing Recipes
- 17:10Heartbeat
- 17:38Heartbeat attributes
- 18:49Security
- 19:06IPtables sshd
- 20:36Chef Wiki
- 21:52Writing Recipes
related talks
33mScaling Chef Emotionally
18mChef On The Train
28mChef Cookbook Design Patterns
34m"Acing" Infrastructure Testing with Chef
33mDeveloping for Multi-Component Environments While Keeping Your Sanity
42m5 Things You Didn't Know About Chef
06mTen Quick Tips to Improve Your Chef Workflow
30mUsing Ruby to Automate Your Life
