Mastering Chef the Devops Way by School of DevOps®
3.9 (33 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
261 students enrolled

Mastering Chef the Devops Way by School of DevOps®

Learn to write Infrastructure as a Code and manage it at scale with Chef
3.9 (33 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
261 students enrolled
Last updated 7/2020
English
English [Auto]
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Infrastructure as a Code and related concepts e.g. idempotence, convergence
  • Chef's DSL and best practices to write Recipes, Cookbooks etc.
  • Create dynamic, data driven Cookbooks with Variables and Templates
  • Setup chef workstation with knife, work with chef server and bootstrap nodes
  • Managing multiple environments e.g. Dev, Stage, QA, Production
  • Externalising properties with Data bags
  • Environments and Roles
  • Overview of Chef Enterprise
Requirements
  • Linux Command Line Operations
  • Text Editor
  • Experience with installing and configuring applications
Description

Infrastructure as a Code is one of the foundations of DevOps Automation toolchain. Chef is at the forefront of the IaaC revolutions and was the first tool amongst the four main configuration management tools including Puppet, Ansible and Saltstack .Chef is also the fastest configuration management system and provides a simple DSL (Domain Specific Language) to define the state of resources and does the heavy lifting of managing underlying platform specific operations by itself, providing users higher level of abstraction than scripts do.

The use of Chef is no more limited to servers, but has also expanded to managing all type of devices including routers, embedded systems, storage etc. With more and more organisations adopting to DevOps practices, knowledge on IaaC and tools such as Chef is essential for today's generation of DevOps professionals. This skill would also help one to advance their careers, specially for the operations, systems, networks and DevOps engineers.

This course is one of the most comprehensive programs to master Chef. It starts from most basic concepts related to Infrastructure as a Code, Convergent Infrastructures, Code and Data separation, Idempotence. It then helps you dive into the world of Chef by understanding the basics of the languages such as resources/providers, manifests, modules and then delves deeper into creating dynamic code with parameters, templates, defined types etc. Once equipped with the basics, it unlocks Chef's full potential with advanced topics such as environments, hiera, r10k, puppet enterprise, rolls and design patterns etc. This course takes from from zero to Chef master in two weeks.

Who this course is for:
  • Systems Operations Personal who would like to know how to manage infrastructure at scale
  • Developers who would like to setup consistent environments and software delivery using automation
  • Anyone who would like to be a Devops Professional
  • Anyone who is interested learning to write Infrastructure as a Code
  • QA who would like to automate test environment setups and create a repeatable way
Course content
Expand all 68 lectures 06:22:00
+ Infrastructure as a Code
9 lectures 36:48
Four Approaches to Manage Infrastructures
05:58
Scripts vs IaaC - Procedural vs Declarative Approaches
06:28
My Story - How I got started with Puppet & Chef
04:27
Pull Model Centralized Configuration Management
04:29
Convergence and Idempotence
03:30
Code vs Data - Creating Dynamic Configurations
02:52
When to Use Chef/Puppet
06:23
Is IaaC only about Chef/Puppet ? Going beyond the configuration management
01:48
+ Environment Setup
5 lectures 22:27
Section Introduction
00:50
Setting up Codespaces on DigitalOcean
05:26
Setting up Codespaces with Docker from scratch
07:10
Overview of Codespaces
07:27
Project
01:34
+ Recipes
8 lectures 49:44
Section Introduction
00:45
Resources and the DSL
06:43
Creating our first Recipe
08:41
Syntax Check, Dry Run and Applying Recipes
07:39
Idempotence and Convergence
04:48
Troubleshooting Techniques
04:05
Execute Resource and Idempotence
05:35
Solution to Exercise
11:28
+ Cookbooks
10 lectures 01:01:42
Cookbooks Intro
01:21
Anatomy of a Cookbook, Generator
04:50
App vs Cookbook, Creating App
06:13
Creating Java Cookbooks - Defining Recipe to Install Java
04:47
Test Kitchen - Creating a Environment to Test the Cookbook
09:54
Run List and Convergence
07:03
Lab
01:53
Solutions
09:23
Simplify Run List , Dependencies
05:27
Managing Files
10:51
+ Multi Node Setup
5 lectures 33:39
Section Introduction
00:37
Setting up Chef Server and Workstation
09:40
Bootstrapping the first Node with knife
06:17
Uploading Cookbooks and Managing Dependencies with Berkshelf
09:13
Defining Run List for a Node with Knife
07:52
+ Data Driven Cookbooks
9 lectures 56:21
Section Introduction
00:40
The Node Object, Attributes and Ohai
08:49
User Defined Data, Defining the Default Attributes
05:22
Refactoring Tomcat to use Attributes
08:23
Supporting platform specific properties with attributes and conditionals
09:53
Static Files vs Templates, ERB Tags
05:28
Templatizing motd configurations
06:42
Attribute Precedence Order
04:06
Solution - Templatize Tomcat Config
06:58
+ Customising Community Cookbooks
4 lectures 20:34
Section Introduction
00:37
Chef Supermarket, Community Cookbooks Selection Criteria
04:06
Cookbook Customising Strategies
04:05
Creating a wrapper cookbook to setup load balancer
11:46
+ Automated Deployments with Chef and Circle CI
5 lectures 29:13
Section Introduction
01:05
Setting up Sysfoo build with CircleCI and GitHub
09:45
Deployment Specs and Strategy
04:34
Writing Deployment code for Sysfoo Java Webapp
09:30
Deploying new version of Application, Idempotence Test
04:19