Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Chef Mastery
Infrastructure as a Code
Section Introduction (0:53)
Four Approaches to Manage Infrastructures (5:58)
Scripts vs IaaC - Procedural vs Declarative Approaches (6:28)
My Story - How I got started with Puppet & Chef (4:27)
Pull Model Centralized Configuration Management (4:29)
Convergence and Idempotence (3:30)
Code vs Data - Creating Dynamic Configurations (2:52)
When to use Chef/Puppet (6:23)
Is IaaC only about Chef/Puppet? Going beyond the configuration management (1:48)
Introduction to Chef
Path to Automation (11:57)
Environment Setup
Setting up Codespaces on DigitalOcean (5:26)
Setting up Codespaces with Docker from scratch (7:10)
Overview of Codespaces (7:27)
Project (1:34)
Recipes
Resources and the DSL (6:43)
Creating our first Recipe (8:41)
Syntax Check, Dry Run and Applying Recipes (7:39)
Idempotence and Convergence (4:48)
Troubleshooting Techniques (4:05)
Execute Resource and Idempotence (5:35)
Solution to Exercise (11:28)
Cookbooks
Cookbooks Intro (1:21)
Anatomy of a Cookbook, Generator (4:50)
App vs Cookbook, Creating App (6:13)
Creating Java Cookbooks - Defining Recipe to Install Java (4:47)
Test Kitchen - Creating a Environment to Test the Cookbook (9:54)
Run List and Convergence (7:03)
Lab (1:53)
Solutions (9:23)
Simplify Run List , Dependencies (5:27)
Managing Files (10:51)
Multi Node Setup
Section Introduction (0:37)
Setting up Chef Server and Workstation (9:40)
Bootstrapping the first Node with knife (6:17)
Uploading Cookbooks and Managing Dependencies with Berkshelf (9:13)
Defining Run List for a Node with Knife (7:52)
Data Driven Cookbooks
Section Introduction (0:40)
The Node Object, Attributes and Ohai (8:49)
User Defined Data , Defining the Default Attributes (5:22)
Refactoring Tomcat to use Attributes (8:23)
Supporting platform specific properties with attributes and conditionals (9:53)
Static Files vs Templates, ERB Tags (5:28)
Templatizing motd configurations (6:42)
Attribute Precedence Order (4:06)
Solution - Templatize Tomcat Config (6:58)
Customising Community Cookbooks
Section Introduction (0:37)
Chef Supermarket, Community Cookbooks Selection Criteria (4:06)
Cookbook Customising Strategies (4:05)
Creating a wrapper cookbook to setup load balancer (11:46)
Automated Deployments with Chef and Circle CI
Section Introduction (1:05)
Setting up Sysfoo build with CircleCI and GitHub (9:45)
Deployment Specs and Strategy (4:34)
Writing Deployment code for Sysfoo Java Webapp (9:30)
Deploying new version of Application, Idempotence Test (4:19)
Roles
Why roles, Run lists and Attribute Precedence (6:40)
Creating roles for App Servers and Load Balancer, Nested Roles (5:58)
Applying Roles (7:35)
Search
Using Search with Knife (6:33)
Adding search to Recipes, Auto Configurations (10:07)
Environments
The need for the Environments (2:54)
Creating Prod Environment, Cookbook versioning constraints, Configuration Profiles and Refactoring Search (12:18)
Slides
Slides : Introduction to Chef
Provisioning chef codespace with vagrant and virtualbox
User Data to provision Chef Environment
Join Gitter Channel
Recipes - Slides
Recipes - Chef Solo Version
Cookbooks - Slides
TDD with Test Kitchen - Slides
Data Driven Cookbooks - Slides
Customizing Cookbooks - Slides
Lab : Creating wrapper cookbook for HAProxy load balancer
Roles - Slides
Lab: Categorizing Nodes by Roles
Search - Slides
Multi Node Cluster Setup - Slides
Environments - Slides
Lab : Creating Configuration Profiles with Environments
Setting up Codespaces on DigitalOcean
Lesson content locked
If you're already enrolled,
you'll need to login
.
Be a Member to Unlock