Oreilly - Mastering Chef the DevOps Way by School of DevOps®
by Gourav Shah | Publisher: Packt Publishing | Release Date: May 2018 | ISBN: 9781789345704
A comprehensive Chef course. Learn to write Infrastructure as a code and manage it at scale with ChefAbout This VideoWell explained, a logical structure with a real application used as an example.In DetailInfrastructure as a code is one of the foundations of DevOps Aatomation 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 with a 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 and so on. With more and more organisations adopting DevOps practices, knowledge on IaaC and tools such as Chef is essential for today's generation of DevOps professionals. This skill would also help you advance your career, especially for operations, systems, networks, and DevOps engineers. It then helps you dive into the world of Chef by understanding the basics of the languages such as resources/providers, manifests, and modules, and then delves deeper into creating dynamic code with parameters, templates, defined types and so on. 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 and so on. This course takes you from from zero to Chef master in two weeks.
- Chapter 1 : Infrastructure as a Code
- Section Introduction 00:00:54
- Four Approaches to Manage Infrastructures 00:05:58
- Scripts vs IaaC - Procedural vs Declarative Approaches 00:06:29
- My Story - How I got started with Puppet & Chef 00:04:28
- Pull Model Centralized Configuration Management 00:04:30
- Convergence and Idempotence 00:03:31
- Code vs Data - Creating Dynamic Configurations 00:02:53
- When to Use Chef/Puppet 00:06:23
- Is IaaC only about Chef/Puppet? Going beyond the configuration management 00:01:49
- Chapter 2 : Introduction to Chef
- Section Introduction 00:00:48
- Path to Automation 00:11:58
- Chapter 3 : Environment Setup
- Section Introduction 00:00:50
- Setting up Codespaces on DigitalOcean 00:05:26
- Setting up Codespaces with Docker from scratch 00:07:11
- Overview of Codespaces 00:07:28
- Project 00:01:35
- Chapter 4 : Recipes
- Section Introduction 00:00:45
- Resources and the DSL 00:06:43
- Creating our first Recipe 00:08:42
- Syntax Check, Dry Run and Applying Recipes 00:07:40
- Idempotence and Convergence 00:04:49
- Troubleshooting Techniques 00:04:05
- Execute Resource and Idempotence 00:05:35
- Solution to Exercise 00:11:28
- Chapter 5 : Cookbooks
- Cookbooks Intro 00:01:22
- Anatomy of a Cookbook, Generator 00:04:51
- App vs Cookbook, Creating App 00:06:13
- Creating Java Cookbooks - Defining Recipe to Install Java 00:04:48
- Test Kitchen - Creating an Environment to Test the Cookbook 00:09:55
- Run List and Convergence 00:07:03
- Lab 00:01:53
- Solutions 00:09:24
- Simplify Run List, Dependencies 00:05:27
- Managing Files 00:10:51
- Chapter 6 : Multi Node Setup
- Section Introduction 00:00:38
- Setting up Chef Server and Workstation 00:09:41
- Bootstrapping the first Node with knife 00:06:17
- Uploading Cookbooks and Managing Dependencies with Berkshelf 00:09:13
- Defining Run List for a Node with Knife 00:07:53
- Chapter 7 : Data Driven Cookbooks
- Section Introduction 00:00:41
- The Node Object, Attributes and Ohai 00:08:49
- User Defined Data, Defining the Default Attributes 00:05:23
- Refactoring Tomcat to use Attributes 00:08:24
- Supporting platform specific properties with attributes and conditionals 00:09:54
- Static Files vs Templates, ERB Tags 00:05:29
- Templatizing motd configurations 00:06:42
- Attribute Precedence Order 00:04:07
- Solution - Templatize Tomcat Config 00:06:59
- Chapter 8 : Customizing Community Cookbooks
- Section Introduction 00:00:37
- Chef Supermarket, Community Cookbooks Selection Criteria 00:04:07
- Cookbook Customising Strategies 00:04:06
- Creating a wrapper cookbook to setup load balancer 00:11:47
- Chapter 9 : Automated Deployments with Chef and Circle CI
- Section Introduction 00:01:05
- Setting up Sysfoo build with CircleCI and GitHub 00:09:46
- Deployment Specs and Strategy 00:04:35
- Writing Deployment code for Sysfoo Java Webapp 00:09:30
- Deploying new version of Application, Idempotence Test 00:04:19
- Chapter 10 : Roles
- Section Introduction 00:00:47
- Why roles? Run lists and Attribute Precedence 00:06:41
- Creating roles for App Servers and Load Balancer, Nested Roles 00:05:59
- Applying Roles 00:07:36
- Chapter 11 : Search
- Section Introduction 00:00:43
- Using Search with Knife 00:06:34
- Adding search to Recipes, Auto Configurations 00:10:08
- Chapter 12 : Environment
- Section Introduction 00:01:23
- The need for the Environments 00:02:54
- Creating Prod Environment, Cookbook versioning constraints, Configuration Profile 00:12:18
9781789345704.Mastering.Chef.the.DevOps.Way.by.School.of.DevOps.part1.OR.rar
9781789345704.Mastering.Chef.the.DevOps.Way.by.School.of.DevOps.part2.OR.rar