The Chef Infrastructure Automation Cookbook – Second Edition

The Chef Infrastructure Automation Cookbook – Second Edition contains practical recipes on everything you will need to automate your infrastructure using Chef. The book is packed with illustrated code examples to automate your server and cloud infrastructure.

Buy the book now on or Packt Publishing

Over 80 recipes to automate your cloud and server infrastructure with Chef and its associated toolset

About This Book

  • Automate error-prone and tedious manual tasks and manage your servers on-site or in the cloud
  • Equip yourself with Chef components such as Chef client and solo, and learn how to create simple Chef cookbooks and various other artifacts for managing systems with Chef when live
  • Packed with working code and easy-to-follow, step-by-step instructions to configure, deploy, and scale your applications

Who This Book Is For

This book is for system engineers and administrators who have a fundamental understanding of information management systems and infrastructure. It helps if you’ve already played around with Chef; however, this book covers all the important topics you will need to know. If you don’t want to dig through a whole book before you can get started, this book is for you, as it features a set of independent recipes you can try out immediately.

What You Will Learn

  • Set up your local development and testing environment for Chef
  • Debug your cookbooks and Chef runs by using the numerous inspection and logging facilities of Chef
  • Drive your cookbooks from external data or node-specific attributes
  • Manage and scale your cloud infrastructure by automating your configuration management
  • Extend Chef to meet your advanced needs by creating custom plugins for knife and Ohai
  • Test your Chef cookbooks and infrastructure by writing examples

Praise For The First Edition

⭐️⭐️⭐️⭐️⭐️ Chef documentation made clear :)

By cioba cosmin on November 6, 2013

I worked for about a year with Chef and got to learn about it from here and there and this book managed to glue all the information together. It starts with the most basic information about how the basic configurations and tools and goes in-depth really smoothly.

Loved the fact that has a lot of references to tools and information about how to use chef, like foodcritic, berkshelf, vagrant and goes really nice with the opscode official documentation.

Good read for any one that want`s to start and get more extensive information about Configuration Management with Chef. I`m using it today as a first go-to documentation page.

⭐️⭐️⭐️⭐️⭐️ Amazingly comprehensive for a large problem set

By Eric Rauer on September 19, 2013

I would recommend starting with […] to get familiar with chef basic since this is not really a beginner’s guide. Having read a lot about chef and done some hands on, this book is quickly becoming an essential tool. The author has done a great job of picking up a number of best practices and boiling this down into simple explainable steps.

⭐️⭐️⭐️⭐️⭐️ Great tool and a great book

By Petar Koraca on November 6, 2013

After picking up basics of Chef framework, Chef Infrastructure Automation Cookbook is a must read. Among Chef framework itself, it also covers techniques such as testing, as well as integration with tools and technologies like Vagrant and AWS, with excellent examples. Management of cookbook dependencies is lot easier with tools like Berkshelf, and author follows that practice from the beginning to the end.

⭐️⭐️⭐️⭐️⭐️ Great book to get you started

Buy the book now on or Packt Publishing