Chef Infra Fundamentals


Course Number: DVOP-132

Duration: 3 days (19.5 hours)

Format: Live, hands-on

Chef Training Overview

Accelebrate's Introduction to Chef training gives attendees a solid foundation in managing dozens, hundreds, or even thousands of servers using the operations management platform used by Facebook, Target, Nordstrom, and many other successful enterprises. This course supports both Linux and Windows platforms.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

Objectives

  • Use Chef to deploy infrastructure as code
  • Manage a large number of servers
  • Use the chef-client on Linux and Windows platforms
  • Become self-sufficient in navigating the Chef documentation

Prerequisites

All students should have experience in:

  • Writing code in a text editor
  • Working on the command line
  • Basic system administration, including installing packages, configuring those packages, and starting a service

Outline

Expand All | Collapse All

An Introduction to Configuration Management
  • A discussion of traditional scripting
  • Why automate infrastructure?
  • Infrastructure as Code
Chef Resources – The Fundamental Building Blocks
  • The Resource Domain-Specific Language (DSL)
  • Common Resources – package, file, service, script
  • Test-and-Repair: System State Management
Recipes and Cookbooks
  • Organizing Recipes with Cookbooks
  • Generating and maintaining cookbooks
  • Cookbook components and features
  • Source Control and Collaboration with Git
Capturing System Details with Ohai
  • System Profiling with Ohai
  • How the chef-client gathers data
  • Accessing Attributes on the Node Object
Attributes: Data-Driven Cookbooks
  • User-Defined Node Attributes
  • Platform-Independent Recipes
  • Attribute Precedence
Managing Variables with Templates
  • File Resources – template, cookbook_file, remote_file
  • Embedded Ruby Templates
  • ERB Syntax
Testing Cookbooks – An Introduction to Test-Kitchen
  • Configuring Test Kitchen
  • The .kitchen.yml file
  • Deploying Docker Testing Instances
Chef Workstation Setup
  • Installing Chef Tooling Locally
  • Text Editor Intellisense
Centralized Management with the Chef Infra Server
  • Push vs Pull Architectures
  • Using Hosted Chef
  • Chef Infra Server Organizations – Users and Policy
  • The Chef Starter Kit
  • chef-repo/ components
Using Community Cookbooks
  • The Chef Supermarket
  • Wrapper Cookbooks – Dependency Management
  • Recipe Cookbooks vs Library Cookbooks
Multi-Node Infrastructure Management
  • Bootstrapping Nodes
  • Querying for Node Details with knife
  • Managing and Assigning Runlists
Custom Run-lists with Roles
  • Bulk Node Management with Roles
  • Role Syntax and Structure
  • Role Limitations – Role Cookbooks
Dynamic Search
  • Chef Server Indices
  • Searching with knife
  • Debugging with Search
  • The search Recipe Method
Environments: Development versus Production
  • Methods for Creating and Assigning Environments
  • Change Control
  • Version Restrictions and Override Attributes
Automating chef-client Runs
  • The chef-client Community Cookbook
  • Common Convergence Intervals and Offsets
  • Service vs Task Recipes
Using Databags to Manage User Accounts
  • Custom Chef Server Indexes
  • Creating and Uploading Data Bags
  • Managing Users and Groups
Further Resources for Self-Study

Training Materials:

All Chef Fundamentals training students receive comprehensive courseware covering all topics in the course.

Software Requirements:

  • A modern web browser and an Internet connection free of restrictive firewalls, so that the student can connect by SSH and Remote Desktop (RDP) into remote virtual machines.


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan