DevOps Training Icon

Chef Essentials Workshop - Official Chef Training


2 Days Classroom Session   |  
2 Days Live Online
Classroom Registration
Individual:
$1950.00
Group Rate:
$1750.00
(per registrant, 2 or more)
GSA Individual:
$1462.50
Live Online Registration
Live Online:
$1950.00
Private Onsite Package

This course can be tailored to your needs for private, onsite delivery at your location.

Request a Private Onsite Price Quote

Professional Credits

IIBA (CDU)

ASPE is an IIBA Endorsed Education Provider of business analysis training. Select Project Delivery courses offer IIBA continuing development units (CDU) in accordance with IIBA standards.

NASBA (CPE)

NASBA continuing professional education credits (CPE) assist Certified Public Accountants in reaching their continuing education requirements.

This course offers 16.00 NASBA CPEs.

PMI (PDU)

Select courses offer Leadership (PDU-L), Strategic (PDU-S) and Technical PMI professional development units that vary according to certification. Technical PDUs are available in the following types: ACP, PBA, PfMP, PMP/PgMP, RMP, and SP.

This course offers:
    14.00 PMP/PgMP Technical PDUs

16
NASBA CPEs
14
PMI PDUs
Certification
Overview

Get started with Chef by taking official Chef training. 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.

*This course utilizes official courseware and lab environments directly from Chef.

Use Chef Resources to define the state of your system
Write and use Chef recipes and cookbooks
Automate testing of cookbooks
Manage multiple nodes with Chef Server
Create Organizations
Bootstrap nodes
Assign Roles to nodes
Deploy nodes to environments
Enable Chef’s search features with your automation
Create acceptance and production environments
Upcoming Dates and Locations
All Live Online times are listed in Eastern Time Guaranteed To Run
Jul 23, 2018 – Jul 24, 2018    8:30am – 4:30pm Live Online Register
Aug 20, 2018 – Aug 21, 2018    8:30am – 4:30pm Live Online Register
Aug 20, 2018 – Aug 21, 2018    8:30am – 4:30pm New York, New York

Microtek New York City
180 Maiden Lane
Suite 1102
New York, NY 10038
United States

Register
Sep 17, 2018 – Sep 18, 2018    8:30am – 4:30pm Denver, Colorado

Microtek Denver
999 18th Street
Suite 300 South Tower
Denver, CO 80202
United States

Register
Sep 17, 2018 – Sep 18, 2018    10:30am – 6:30pm Live Online Register
Oct 15, 2018 – Oct 16, 2018    8:30am – 4:30pm Dallas, Texas

Microtek Dallas
5430 Lyndon B Johnson Fwy
Three Lincoln Centre, Suite 300
Dallas, TX 75240
United States

Register
Oct 15, 2018 – Oct 16, 2018    9:30am – 5:30pm Live Online Register
Nov 19, 2018 – Nov 20, 2018    8:30am – 4:30pm Live Online Register
Nov 19, 2018 – Nov 20, 2018    8:30am – 4:30pm Reston, Virginia

Homewood Suites Dulles Airport
13460 Sunrise Valley Drive
Herndon, VA 20171
United States

Register
Dec 10, 2018 – Dec 11, 2018    8:30am – 4:30pm Kansas City, Kansas

Centriq Training
8700 State Line Road
Suite 200
Leawood, KS 66206
United States

Register
Dec 10, 2018 – Dec 11, 2018    9:30am – 5:30pm Live Online Register
Course Outline

1. Chef Introduction

  • Overview and expectations for the class
  • The Chef Lab System Architecture

Group lab: Pre-built workstation

2. Using Chef Resources

  • Using Chef to install packages on your virtual workstation
  • Using the chef-client command
  • Creating a basic Chef recipe file
  • Defining Chef Resources
  • Test and repair

Lab: The 'file' resource

3. Building Cookbooks

  • Modify a recipe
  • Collaboration and version control
  • Generating a Chef cookbook
  • Defining a Chef recipe that sets up a web server

Group exercise: Version Control

Lab: Set up Git

Lab: Setting up web servers

4. Chef client

  • Locally applying multiple cookbooks' recipes with chef-client
  • Applying a run list
  • Including a recipe from within another recipe

Lab: Update the apache Cookbook

5. Testing Cookbooks

  • Using Test Kitchen to verify your recipes converge on a virtual instance
  • Reading the ServerSpec documentation
  • Writing and execute tests
  • Where do tests live?

Group exercise: Test configuration

Lab: Converge the kitchen

Lab: Commit your work

Lab: Testing Apache

6. Details About a System

  • Managing large numbers of servers
  • Capturing details about a system
  • Using the node object within a recipe
  • Using Ruby's string interpolation
  • Updating the version of a cookbook

Lab: Update the Cookbook version

Lab: Node Details in the Webserver

Lab: Commit your work

7. Desired State and Data

  • Cleaner recipes
  • When to use a template resource
  • Creating a template file
  • Using ERB tags to display node data in a template
  • Defining a template resource
  • Using kitchen test on the "apache" cookbook
  • Using chef-clientto apply the "apache" cookbook's "default" recipe
  • Updating the "apache" cookbook's version for this patch=
  • Committing the changes

Lab: Update the version

8. Local Workstation Installation

  • Installing ChefDK on your laptop
  • Executing commands to ensure everything is installed
  • Installing a local editor like Atom

Lab: You will run the following commands and report their versions: $chef, $chef-client, $knife, $ohai, $berks, $kitchen, $foodcritic, $rubocop

9. The Chef Server

  • Connecting to a Chef Server
  • Managing Additional systems
  • Managing User traffic
  • Uploading cookbooks to a Chef Server
  • Bootstrapping a node
  • Managing a node via a Chef Server
  • Hosted Chef
    • Lab: Uploading cookbooks and managing cookbook dependencies

10. Community Cookbooks

  • Find cookbooks on the Chef supermarket
  • Create a wrapper cookbook
  • Example: load balancer
  • Amazon EC2 instances
  • Replace the existing default values
  • Upload a cookbook to Chef Server
  • Bootstrap a new node that runs the cookbook

Discussion: Can your teams benefit from the supermarket?

11. Managing Multiple Nodes

  • Managing user traffic
  • Bootstrapping and updating the run_list
  • Running chef-client on a node
  • Appending values to an attribute within a recipe
  • Versioning cookbooks and uploading to Chef Server

Lab: Another new node

Lab: Test and update the load balancer

Lab: Run $berks install

Lab: Converging the cookbook

12. Roles

  • Assigning, defining, and configuring
  • The 'knife' role
  • Verifying roles
  • Roles for everyone

Lab: Define a web role

13. Search

  • Update a Cookbook to Dynamically Use Nodes with the Web Role
  • Describe the query syntax used in search
  • Build a search into your recipe code
  • Create a Ruby Array and Ruby Hash
  • Update the myhaproxy wrapper cookbook

Lab: Updating, load balancing, uploading and running the new search-capable cookbook

14. Environments

  • Keeping your infrastructure current
  • Creating a production environment
  • Creating an acceptance environment
  • Deploying a node to an environment
  • Updating a search query to be more exact

Lab: Set new nodes to production

Lab: Acceptance environment

Lab: Create a new environment file

15. Course wrap and further resources

  • Beyond essentials
  • Valuable reading
  • Events and online resources
  • Customizing Chef
Who should attend
  • IT Managers and Leaders
  • Developers and Application Teams
  • System Administrators
  • IT Operations Staff
  • Release Engineers
  • Configuration Managers
  • Anyone involved with IT infrastructure
  • ScrumMasters
  • Software Managers and Team Leads
Pre-Requisites

Student Requirements:

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

  • Writing code (of just about any flavor) in a text editor
  • Working on the command line

Basic system administration – installing packages, configuring those packages, starting service
 

Computer Labs Needed/Technical Specs:

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.

Download the brochure