ABOUT

Chef is an infrastructure as code DevOps automation tool. Chef allows you to build reusable recipes to deploy in your environment. These recipes are known as tasks and are assigned to put your environment in a specific state. We use these tasks to install packages, update configuration files, and lots more!


In a typical installation, a team would commit code to their existing source control system.[5] A continuous integration server would then compile the code and run unit tests. The last step of the build process would be to bundle the binaries, content files and configuration files into a package that is ready to be deployed. Octopus is then designed to deploy this package, and promote it between environments. For packaging applications, Octopus Deploy uses the NuGet package file format from Microsoft.


COURSE OBJECTIVES

  • 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

These are primary objectives of this training...

  • Chef Resources
  • Cookbooks
  • chef-client
  • Testing Cookbooks
  • Ohai and the Node Object
  • Data Abstraction
  • Workstation Installation
  • The Chef Server
  • Community Cookbooks
  • Managing Multiple Nodes
  • Roles
  • Search
  • Environments

PRE-REQUISITES


Delegates will make the most of the class if they are comfortable with:

  • Writing code (of just about any flavour) in a text editor
  • Working on the command line
  • Performing basic system administration - installing packages, configuring those packages, starting services

FEATURES


AGENDA


The Basic Course Program Is Outlined Here:


DevOps Concept & Process - DAY - 1

  • Need for DevOps
  • DevOps Culture
  • DevOps Tools

Configuration Management - DAY - 1

  • What Is Configuration Management?
  • Why You Need a Configuration Management Tool to Automate IT
  • What Is Chef?
  • Why Chef Might Be a Good Tool for Your Enterprise?
  • Chef Development Tools

Virtualization Essentials - Amazon AWS - DAY - 1

  • AWS Essentials
  • Amazon EC2
  • Chef Provisioning using AWS

Virtualization Essentials - Vagrant - DAY - 1

  • Provisioning Using Vagrant and Chef
  • Providers and Provisioners
  • Installing Vagrant
  • Configuring Vagrant
  • Vagrant Provisioning Using Chef

Become a Chef Programmer - DAY - 1

  • Writing First Chef Recipe
  • Chef and Its Terminology
  • Chef Syntax and Examples
  • Chef Resources, Actions and properties

Cookbooks - DAY - 2

  • Using Cookbooks
  • Developing Your First Cookbook
  • Creating the Index File
  • Changing the Metadata
  • Uploading the Cookbook
  • Running the Cookbook
  • Documentation in Chef
  • Meta info in Chef

Chef Server - DAY - 2

  • Setup Chef Server in Centos
  • Chef Organization
  • Config Chef Manage
  • Working with Knife and configuration

Using Chef Server - DAY - 2

  • Uploading the Cookbook
  • Bootstraping Linux Nodes
  • Bootstraping Windows Nodes
  • Running the Cookbook

Advance Chef Part 1 - DAY - 2

  • Chef Attributes
  • Chef Environments
  • Chef roles
  • Chef Solo

Advance Chef Part 2 - DAY - 3

  • Notifications
  • Cookbook Dependencies
  • Recipe Inclusion
  • Data Bags
  • Push Jobs

Chef Code Analysis in Chef - DAY - 3

  • Foodcritic Essentials

Chef Unit Testing - DAY - 3

  • ChefSpec Essentials

Chef Integration Testing - DAY - 4

  • TestKitchen Essentials

Chef Supermarket - DAY - 4

  • Public Supermarket Essentials
  • Private Supermarket Essentials

Fundamental of Ruby - DAY5
Chef in Windows - DAY5

  • POSHChef
  • Windows - Configuring Services like IIS

Other useful tools and plugins - DAY - 5

  • gsh
  • dsh

Some other chef & Knife tools - DAY - 5

  • knife-lastrun
  • knife-preflight
  • Chef-handlers
  • knife-flip
  • knife-bulkchangeenvironment
  • knife-env-diff
  • knife spork

Super Chef Advance Topics - DAY - 6

  • Chef Automate Essentails
  • Chef Compliance
  • Chef Backend
  • Push Jobs Server
  • InSpec