Oreilly - Chef Fundamentals: A Recipe for Automating Infrastructure
by Robin Beck, Chef Software | Publisher: Packt Publishing | Release Date: March 2019 | ISBN: 9781838824839
The Chef-Certified beginner's guide to developing cookbooks locally and distributing changes with a Chef ServerAbout This VideoA basic understanding of system administration, such as what it means to install and configure packages and start services.Beginner-level experience navigating a Terminal, such as Powershell or Bash, and using it to perform basic file manipulationsUnderstand how to use a command-line text editor, like Vi, Emacs or Nano to edit files.In DetailAre you the only Chef in the kitchen? Is your infrastructure suffering from snowflake servers? Are you sick and tired of provisioning machines by hand every time you need to put out a fire? Configuring infrastructure shouldn't be painful, it should be a joy. Chef Fundamentals has been reviewed and approved by the Chef Training team. The Chef team looks forward to the development of additional Chef Courses. Chef is a platform for the DevOps workflow, and is used to automate and manage it all--infrastructure, run-time environments and applications. The most enduring and transformative companies use Chef to become fast, efficient, and innovative software-driven organizations. Join Robin Beck as he automates everything in the only Chef-Certified class. Learn to combine resources into recipes, recipes into cookbooks, and transform your infrastructure into code. With Chef we'll learn to use the power of the Ruby language to eloquently describe the state of a system, whether you're new to automation or have been administering systems since 1992. We'll learn how to locally configure a server with the Chef Development Kit, then use the power of a Chef Server to distribute your cookbook to one, or a hundred systems.All the code and supporting files for this course are available at: https://github.com/PacktPublishing/Chef-Fundamentals-A-Recipe-for-Automating-InfrastructureDownloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
- Chapter 1 : Welcome to Chef Fundamentals
- Chef Fundamentals - Is this class right for me? 00:02:53
- Course Roadmap 00:02:17
- Getting Started: Configuring Your Development Environment 00:02:16
- Exercise: Install the ChefDK 00:03:04
- Setup: Configure Your Lab Environment with Vagrant and Virtualbox 00:12:43
- Bonus Setup: Configure Your Lab Environment with Amazon Web Services 00:18:00
- Chapter 2 : Chef and Configuration Management
- What is Configuration Management? 00:03:38
- Infrastructure as Code 00:03:00
- Exercise: Your First Chef Recipe 00:06:54
- How Chef Thinks About System Components 00:02:50
- Chapter 3 : Resources: Chef's Basic Building Blocks
- Overview: Chef Resources 00:01:55
- Exploring System Resources 00:07:14
- Convergence and Desired State 00:06:31
- Exercise: Create a Workstation Setup Recipe 00:07:25
- Organizing Resources with Recipes 00:03:03
- Chapter 4 : Cookbooks
- Overview: Chef Resources 00:01:07
- Organizing Recipes with Cookbooks 00:03:31
- Cookbook Components 00:09:33
- Revision Control with Git 00:16:37
- Exercise: Deploy an Apache Webserver 00:06:49
- Chapter 5 : The chef-client run
- Overview: The chef-client run 00:01:03
- Applying Recipes and Cookbooks 00:06:18
- Exercise: The include_recipe method 00:04:02
- Chapter 6 : Ohai
- Overview: Taking System Inventory 00:01:27
- An Object Called 'Node' 00:08:40
- Accessing Node Attributes 00:10:15
- Exercise: Add Node Details to the Web Application 00:05:18
- Chapter 7 : Templates
- Overview: Using Template Resources 00:01:07
- Why Use Templates? 00:04:42
- Understanding Embedded Ruby 00:07:29
- Adding Templates to Recipes 00:08:27
- Exercise: Refactor the Web Application with a Template 00:06:32
- Chapter 8 : Other common Resources
- Overview: Other Common Resources 00:01:17
- cookbook_file 00:07:43
- remote_file 00:08:09
- execute 00:13:20
- user and group 00:05:36
- sending and receiving notifications 00:08:36
- Chapter 9 : Troubleshooting and Bonus Content
- Overview: Debugging, Linting, and Testing 00:01:26
- Explore the ChefDK 00:08:13
- Your Toolkit 00:09:16
- Overview: The Troubleshooting Process 00:06:02
- Overview: Demo: Breaking Things 00:12:47
- Bonus: Intro to Test Kitchen 00:17:23
- Bonus: Intro to ChefSpec 00:13:45
- Chapter 10 : The Chef Server
- Overview: Interfacing with a Chef Server 00:02:03
- Why use a Chef Server? 00:06:13
- Exercise: Getting Started with Hosted Chef 00:07:46
- Exercise: Uploading Cookbooks 00:06:42
- Exercise: Reconfigure Your Vagrant Environment 00:06:14
- Exercise: Bootstrap your Web Server 00:08:47
- Chapter 11 : Community Cookbooks
- Overview: Custom Cookbooks and the Chef Supermarket 00:01:39
- Exploring the Supermarket 00:08:35
- Create a Wrapper Cookbook 00:12:49
- Adding Webserver Members 00:09:27
- Managing Cookbooks with Berkshelf 00:09:51
- Exercise: Deploy a Load Balancer 00:08:23
- Chapter 12 : Managing Nodes
- Overview: Going Full-Scale 00:01:02
- Adding Nodes to your Organization 00:05:47
- Exercise: Add a Member to the Load Balancer 00:10:08
- Demo: Verifying Node Data with Knife 00:07:13
- Bonus: Run the chef-client on a Schedule 00:13:12
- Chapter 13 : Roles
- Overview: Managing run-lists 00:01:10
- Describing run-lists with Roles 00:03:23
- Demo: Methods for Creating and Assigning Roles 00:10:41
- Exercise: Create the load-balancer Role 00:05:45
- Bonus: Converge Using the 'knife ssh' Command 00:09:57
- Chapter 14 : Search
- Overview: Indexing and Search 00:00:56
- Exploring Chef Server Indices 00:03:32
- Running Searches with knife 00:08:30
- Demo: Refactor for Dynamic Load Balancing 00:10:58
- Exercise: Testing the Load Balancer 00:05:42
- Chapter 15 : Environments
- Overview: Control Your Deployment 00:01:17
- What is a Chef Environment? 00:02:30
- Creating and Managing a Production Environment 00:11:46
- Exercise: Deploy a Web Server to an Acceptance Environment 00:05:28
- Exercise: Refine the Load Balancer 00:11:38
- Chapter 16 : Data Bags
- Overview: Organizing Custom Data Sets 00:01:01
- What's in the Bag? 00:02:24
- Creating and Managing Data Bags 00:11:26
- Dynamic Search and Find 00:08:37
- Exercise: Creating Users and Groups with Search 00:16:22
- Demo: Encrypting Your Secrets 00:09:19
- Chapter 17 : Graduation: Further Resources
- What have we learned? 00:01:31
- Continuous Learning and Continuous Delivery 00:03:08
- Keep Learning and Practicing 00:03:37
- Your Chef Community 00:03:32