Slide 1

Slide 1 text

Intro to Chef Christopher M Luciano

Slide 2

Slide 2 text

Me • Christopher M Luciano • Software Engineer, Developer Productivity Team @IBM • Twitter cmluciano_ • Email [email protected] • Github github.com/cmluciano

Slide 3

Slide 3 text

Problem? • Lots of machines • Various software components • Multiple operating systems • No documentation/out-of-date documentation

Slide 4

Slide 4 text

Installing/Configuring Services

Slide 5

Slide 5 text

Developer Workstations https://github.com/r8/vagrant-lamp

Slide 6

Slide 6 text

This Seems Like a Job For… https://github.com/lavoiesl/mysql-bash-scripts/blob/master/create https://github.com/major/MySQLTuner-perl/blob/master/mysqltuner.pl

Slide 7

Slide 7 text

The Chef Way Gotta be a better way, a better way, yaaaaa Wanna Be A Baller. Prod. Bruce Rhodes. Perf. Lil Troy. Short Stop Records, 1998. Youtube. Vevo, 16 June 2009. Web. 14 Feb. 2015.

Slide 8

Slide 8 text

Chef • Framework for defining your infrastructure as code • Assists in automating tasks like setting up machine services or deploying code

Slide 9

Slide 9 text

Why Chef? • Written in a common language (Ruby) • Acts as a framework not a cookie-cutter • Can be configured for push or pull model (ya it scales) • Extensive Community (Your cookbook probably already exists)

Slide 10

Slide 10 text

Architecture https://sendgrid.com/blog/wp-content/uploads/2013/09/ chef-basic-installation-500x514.png

Slide 11

Slide 11 text

Cookbook • “A cookbook is the fundamental unit of configuration and policy distribution.” • Defines a scenario and contains everything that is required to support that scenario

Slide 12

Slide 12 text

Demo

Slide 13

Slide 13 text

Where to Go From Here • https://learn.chef.io/index.html • Intro to Chef by Mischa Taylor, Seth Vargo • Customizing Chef Jon Cowie

Slide 14

Slide 14 text

Thank you • Twitter @cmluciano_ • Email [email protected] • Github github.com/cmluciano