Chef Essentials

Summary

Learn the basics of Chef by taking Chef Essentials. You’ll learn what it means to turn infrastructure into code so that you can automate the configuration, deployment and management of your servers. You’ll also learn about Chef architecture and the set of tools included in the Chef Development Kit (ChefDK). Finally, we’ll show you how to test your infrastructure code so that you can deploy with confidence.

Description

Get started with Chef by taking Chef Essentials. It’s a two-day instructor-led course that covers all the basics. You’ll learn what it means to turn infrastructure into code so that you can automate the configuration, deployment and management of your servers. You’ll also learn about Chef architecture and the set of tools included in the Chef Development Kit (ChefDK). Finally, we’ll show you how to test your infrastructure code so that you can deploy with confidence. Each of the core units includes hands-on exercises that will give you confidence in your new skills. At the end of the course, you’ll come away with a repo and the skills to start automating your own infrastructure.

Two day course agenda:

  • Introduction
  • Chef resources
  • Cookbooks
  • chef-client
  • Testing cookbooks
  • Details about the system
  • Desired state and data
  • Workstation installation
  • The Chef server
  • Templates, variables, and search
  • Cookbook attributes, attribute files, and dependencies
  • Roles
  • Community cookbooks
  • Environments
  • Further resources

Workstation Requirements:

Attendees should bring a wifi-enabled laptop to the workshop. The following operating systems have been tested as workstation systems with the hands on exercises:

  • Ubuntu 10.04, 12.04
  • Mac OS X 10.7.3+
  • Windows 7+

Other platforms and platform versions may work without modification. Due to time constraints we will not be able to troubleshoot issues with unlisted platforms. Attendees should install non-Chef required software before the workshop starts.

  • SSH/SCP (OpenSSH, puTTY/WinSCP or equivalent)
  • Programer’s text editor (Vi/Vim, Emacs, Sublime Text 2 or equivalent)

Additionally, all attendees should install ChefDK.

Student Requirements:

It’s best that students of this class have some familiarity and comfort with the following:

  1. Writing code (of just about any flavor) in a text editor
  2. Working on the command line
  3. Basic system administration – installing packages, configuring those packages, starting service

Duration

2 Days