Chef in Action teaches you the ins and outs of automated configuration management using Chef. You'll start by getting familiar with Chef's terminology and features. Then, you'll quickly proceed to writing your first cookbook–the name Chef gives to a set of configuration management instructions. Following numerous practical examples, you'll learn techniques to handle typical configuration management tasks. Because your infrastructure code, like all code, needs to be tested, you'll learn a variety of Chef-specific testing techniques. No single tool fits all your needs, so you will learn about extending Chef and integrating it with other tools for tasks like monitoring and logging.
About the Technology
The servers, applications, and services in your technology infrastructure can become a daunting network of micro-environments, each with its own configuration and maintenance needs. With Chef, a powerful open source configuration management tool, you can standardize and automate many of your most important administrative tasks. Chef puts reproducible infrastructure within any sysadmin's grasp, an important step in adopting the DevOps mindset of "infrastructure as code."
For example, after you've established the procedure in Chef, standing up a new server to test the most recent changes to your app takes only a few minutes. Tearing it down and recreating the same environment becomes a push-button process, and you can rest assured that your configuration is exactly as you want it to be. Chef also makes it possible to dynamically create and destroy servers in response to changes in load.
- Principles of configuration management
- Automating your infrastructure
- Writing Chef cookbooks
- Creating testable infrastructure
- Adopting the DevOps mindset
- Chef in the cloud
About the reader
Written for administrators and developers with basic understanding of distributed applications and network infrastructure. No prior experience with Chef or infrastructure automation required.