Chef Essentials

Discover how to deploy software, manage hosts, and scale your infrastructure with Chef
Preview in Mapt
Code Files

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
$10.00
RRP $26.99
Save 62%
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
$10.00
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Chef Essentials Book Cover
Chef Essentials
$ 26.99
$ 10.00
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $46.98
Add to Cart

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

Practical DevOps Book Cover
Practical DevOps
$ 35.99
$ 10.00
Learning Linux Shell Scripting Book Cover
Learning Linux Shell Scripting
$ 39.99
$ 10.00
Learning Puppet Book Cover
Learning Puppet
$ 35.99
$ 10.00
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 10.00
Git Essentials Book Cover
Git Essentials
$ 19.99
$ 10.00
Continuous Delivery and DevOps: A Quickstart guide Book Cover
Continuous Delivery and DevOps: A Quickstart guide
$ 14.99
$ 10.00