Learning Chef

Learning Chef

2h 56mBeginner2017-05-18

Authors

Robin Beck

Robin Beck

Lead Technical Trainer helping developers with infrastructure challenges

Course details

You can transform infrastructure into code using Chef—a powerful platform that provides automation solutions, a development kit, and more. This course explains how to use Chef architecture and tools to simplify and automate configuration management. Learn how to install Chef, configure settings, and more. Join Robin Beck as he shows you how to leverage recipes and cookbooks, deploy a Chef server, and take your infrastructure full scale by managing multiple nodes and resolving dependencies.

Learning objectives
Configuration management
Using Chef
Installing the Chef development kit (ChefDK)
Provisioning a CentOS instance
Using recipes and the Apache cookbook
Working with nodes and node objects
Using templates and embedded Ruby
Hosting a Chef server
Provisioning nodes with AWS
Testing deployments with Kitchen
Exploring the Chef Supermarket
Resolving dependencies with Berkshelf
Working with server roles, environments, and data bags

Skills covered

ChefHosted Chef ServerChef Development KitVagrantDevOps ToolsDevOpsLearningOpen Source

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - My lab environment

1. Getting Started with Chef

  • 04 - What is configuration management
  • 05 - Configuration management platforms
  • 06 - What is Chef
  • 07 - Install the Chef development kit (ChefDK)
  • 08 - Provision a centos instance with Vagrant
  • 09 - Your first Chef recipe

2. From Recipes to Cookbooks

  • 10 - Resources and recipes
  • 11 - Test and repair
  • 12 - Organize recipes with cookbooks
  • 13 - The Apache cookbook
  • 14 - Apply cookbooks and include recipe
  • 15 - Ruby and resources
  • 16 - Ohai I'm the node object
  • 17 - Templates and embedded Ruby

3. The Chef Server

  • 18 - The benefits of using a Chef server
  • 19 - Get started with hosted Chef
  • 20 - Provision nodes with AWS
  • 21 - Bootstrap a node
  • 22 - Test deployments with Kitchen

4. Going Full Scale

  • 23 - Manage multiple nodes
  • 24 - Chef Supermarket
  • 25 - Wrapper cookbooks
  • 26 - Resolve dependencies with Berkshelf
  • 27 - Deploy the haproxy cookbook
  • 28 - Server artifacts - Roles, environments, data bags, and demo

Conclusion

  • 29 - Next steps
80,000 Toman