1 Introduction to Chef
Learning Objectives:
In this this module you will learn about how Chef can be used for Configuration Management and how to deploy resources using Infrastructure as a code.
Sub Topics:
- Evolution of Infrastructure
- Overview of Infrastructure as a Code
- What is Configuration Management
- Chef Overview
- Case Study
Hands-on workshop description: No Hands-On
2 Chef Architecture & Components
Understand about Chef Architecture & Building Blocks of Chef.
- Chef Architecture
- Chef Building Blocks
- Case study
3 Recipes
Learn about basics of Recipes, Recipes Attributes and working with Recipes.
Sub-Topics:
- Overview of Recipes and Recipes Attributes
- Creating first Recipe
- Syntax Check and Applying Recipes
- Organizing Resources with Recipes
Hands-On: Create a Workstation Setup Recipe
4 Cookbooks
Understand what is a Cookbook and how to Create and work with Cookbooks using knife utility.
- Introduction to Cookbooks
- Anatomy of Cookbook
- Creating Cookbooks
- Run and Manage Cookbooks
Hands-On: Creating and Managing Cookbooks using knife utility , Deploy Apache Webserver
5 Chef-Concepts - Chef Development Kit, Nodes, Chef-Client and Chef Server
Learn about Chef Concepts - Chef Development Kit, Nodes, Chef-Client and Chef Server.
- Chef Development Kit
- Nodes
- Chef-Client
- Chef Server
6 Installation of Chef
Learn how to install Chef on Linux Machine.
Sub-topics:
- Install Chef DK (Development Kit) on Chef Workstation
- Setup a Chef Server
- Create a Recipe or a Cookbook / download a Cookbook from Chef Supermarket in Workstation
- Upload a Cookbook on the Chef Server
- Connect a Node To The Chef Server
- Deploy the Cookbook from the Server to the Node
Hands-on: Install Chef on Linux Machine
7 Organizations and Groups
Understand how Chef Server uses Organizations, Groups ,Users and Roles to define Role Based Access Control.
- Organizations
- Users
- Groups
- Roles
Hands-On: Working with Organizations, Groups, Users and Roles
8 Data bags
Understand how data bags can be indexed for searching.
- What Are Data Bags
- Creating User and Group Data Bags
Hands-On: Building A Recipe To Deploy Local User Account From Data Bags