Chef Essentials

Discover how to deploy software, manage hosts, and scale your infrastructure with Chef

Chef Essentials

John Ewart

Discover how to deploy software, manage hosts, and scale your infrastructure with Chef
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781783983049
Paperback218 pages

Book Description

Chef is a configuration management tool that turns IT infrastructure into code. Chef provides tools to manage systems at scale. With this book, you will learn how to use the same tools that companies such as Facebook, Riot Games, and Ancestry.com use to manage and scale their infrastructure.

This book takes you on a comprehensive tour of Chef's functionality, ranging from its core features to advanced development. You will be brought up to speed with what's new in Chef and how to set up your own Chef infrastructure for individuals, or small or large teams. Once you have the core components, you will get to grips with bootstrapping hosts to then develop and apply cookbooks. If you want to fully leverage Chef, this book will show you advanced recipes to help you handle new types of data providers and resources. By the end of this book, you will be confident in how to manage your infrastructure, scale using the cloud, and extend the built-in functionality of Chef itself.

Table of Contents

Chapter 1: Installing Chef
Terminology
Working with Chef
Installing a Chef server
Configuring a Chef server
Validating that your service is working
Summary
Chapter 2: Modeling Your Infrastructure
Getting to know Chef
Modeling your infrastructure
Organizing your configuration data
Large-scale infrastructure
Summary
Chapter 3: Integrating with the Cloud
Leveraging the cloud
Summary
Chapter 4: Working with Cookbooks
Attributes
Metadata
Recipes
Resources
Templates
Definitions
Recipes
Writing recipes
Summary
Chapter 5: Testing Your Recipes
Testing recipes
RSpec
RSpec and ChefSpec
Getting started with ChefSpec
Summary
Chapter 6: From Development to Deployment
Describing the setup
Deploying software with Chef
Configuring your local environment
Modeling a simple Python application
Managing the cookbooks
Defining roles
Adding users
Provisioning EC2 instances
Configuring the web server
Deploying your software
Summary
Chapter 7: Beyond Basic Recipes and Cookbooks
Managing users
Writing custom extensions
Working with data bags
Summary
Chapter 8: Extras You Need to Know
Vagrant and Chef-solo
Getting to know the Chef shell
Integration testing
Extending Chef
Automation and integration
Summary

What You Will Learn

  • Install the Chef server on your own hosts
  • Model your infrastructure using Chef from a small number of hosts to a larger scale
  • Integrate Chef with cloud services
  • Develop custom recipes to deploy your software using Chef
  • Test recipes across multiple platforms
  • Extend Chef's built-in functionality to support custom resources
  • Manage development environments using chef-solo and Vagrant

Authors

Table of Contents

Chapter 1: Installing Chef
Terminology
Working with Chef
Installing a Chef server
Configuring a Chef server
Validating that your service is working
Summary
Chapter 2: Modeling Your Infrastructure
Getting to know Chef
Modeling your infrastructure
Organizing your configuration data
Large-scale infrastructure
Summary
Chapter 3: Integrating with the Cloud
Leveraging the cloud
Summary
Chapter 4: Working with Cookbooks
Attributes
Metadata
Recipes
Resources
Templates
Definitions
Recipes
Writing recipes
Summary
Chapter 5: Testing Your Recipes
Testing recipes
RSpec
RSpec and ChefSpec
Getting started with ChefSpec
Summary
Chapter 6: From Development to Deployment
Describing the setup
Deploying software with Chef
Configuring your local environment
Modeling a simple Python application
Managing the cookbooks
Defining roles
Adding users
Provisioning EC2 instances
Configuring the web server
Deploying your software
Summary
Chapter 7: Beyond Basic Recipes and Cookbooks
Managing users
Writing custom extensions
Working with data bags
Summary
Chapter 8: Extras You Need to Know
Vagrant and Chef-solo
Getting to know the Chef shell
Integration testing
Extending Chef
Automation and integration
Summary

Book Details

ISBN 139781783983049
Paperback218 pages
Read More

Read More Reviews

Recommended for You

Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Orchestrating Docker Book Cover
Orchestrating Docker
$ 14.99
$ 10.50
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40