First Steps with Chef


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
How does expressing Infrastructure as Code with Chef accelerate building, deploying, and managing infrastructure? This course will focus on executing Chef code with the chef-client and introduces the DSL for writing recipes and cookbooks.

Target Audience
DevOps practitioners and systems administrators interested in learning how to automate configuration tasks with Chef

Prerequisites
None

Expected Duration (hours)
1.3

Lesson Objectives

First Steps with Chef

  • start the course
  • describe how automation and version control contribute to DevOps
  • describe the Chef distribution model and the declarative syntax used in writing Chef recipes
  • install the Chef Development Kit (ChefDK)
  • use the package and file resources inside of a Chef Recipe
  • describe Ruby basics such as variables, arrays, and objects
  • identify how recipes are packaged and distributed with cookbooks
  • identify best practices of using Git for version control
  • deploy a cookbook using the chef-client in local mode
  • work with system profiling with Ohai and accessing node object attributes
  • use the cookbook_file, remote_file, and template Chef resources to manage files
  • manage dynamic file creation using the template resource
  • refactor recipes to use node attributes instead of hard-coded values
  • build a simple Apache cookbook that configures a "hello, world" page to serve on the localhost
  • Course Number:
    os_doch_a01_it_enus

    Expertise Level
    Intermediate