Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Chef

( Duration: 4 Days )

In Chef training course, you will learn what it means to turn infrastructure into code so that you can automate the configuration, deployment, and management of your servers. You will also learn about Chef architecture and the set of tools included in the Chef Development Kit (ChefDK). Finally, we will 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 will come away with a repo and the skills to start automating your own infrastructure.

By attending Chef workshop, delegates will learn to:

  • 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

The Chef class is ideal for:

  • 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

COURSE AGENDA

1

Chef Introduction

  • Overview and expectations for the class
  • The Chef Lab System Architecture
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
3

Building Cookbooks

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

Chef client

  • Locally applying multiple cookbooks' recipes with chef-client
  • Applying a run list
  • Including a recipe from within another recipe
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?
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
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-client to apply the "apache" cookbook's "default" recipe
  • Updating the "apache" cookbook's version for this patch=
  • Committing the changes
8

Local Workstation Installation

  • Installing ChefDK on your laptop
  • Executing commands to ensure everything is installed
  • Installing a local editor like Atom
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
10

Community Cookbooks

  • Find cookbooks on the Chef supermarket
  • Create a wrapper cookbook
  • Amazon EC2 instances
  • Replace the existing default values
  • Upload a cookbook to Chef Server
  • Bootstrap a new node that runs the cookbook
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
12

Roles

  • Assigning, defining, and configuring
  • The 'knife' role
  • Verifying roles
  • Roles for everyone
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
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
15

Course wrap and further resources

  • Beyond essentials
  • Valuable reading
  • Events and online resources
  • Customizing Chef

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X