Learning Chef

Automate your infrastructure using code and leverage DevOps with Chef
Preview in Mapt

Learning Chef

Rishabh Sharma, Mitesh Soni

1 customer reviews
Automate your infrastructure using code and leverage DevOps with Chef
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.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
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning Chef Book Cover
Learning Chef
$ 39.99
$ 28.00
From 0 to 1: Machine Learning, NLP & Python-Cut to the Chase [Video] Book Cover
From 0 to 1: Machine Learning, NLP & Python-Cut to the Chase [Video]
$ 32.99
$ 28.05
Buy 2 for $35.00
Save $37.98
Add to Cart
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
 

Book Details

ISBN 139781783285211
Paperback316 pages

Book Description

Chef automation helps to transform infrastructure into simple code. This means that building, rebuilding, configuration, and scaling to meet your customer's needs is possible in just a few minutes in a real-time environment.

This book begins with the conceptual architecture of Chef, walking you through detailed descriptions of every Chef element. You will learn the procedure to set up your workstation and how to create a Cookbook in a hosted Chef environment.

Private Chef Server setup is covered in depth, with information on the necessity of on-premise Private Chef deployment, benefits, and installation and configuration procedures for the different types of Private Chef servers including standalone, tiered, and high-availability.

This book sheds light on industry best practices with practical Chef scenarios and examples.

Table of Contents

Chapter 1: An Overview of Automation and Advent of Chef
Automation
Why automation is needed
Introduction to Chef
Existing automation tools and comparison with Chef
Self-test questions
Summary
Chapter 2: Different Components of Chef's Anatomy
The Chef automation
The Chef framework
Chef components
The Chef server API
GitHub
Chef-solo
The Chef community
Chef-run
Integration of Chef with Vagrant
A quick hands-on experience of a Hosted Chef server
Self-test questions
Summary
Chapter 3: Workstation Setup and Cookbook Creation
The VirtualBox installation
The Vagrant installation
The Git installation
Installation and configuration of a workstation
Workstation setup - creating a Chef repository
Launching a virtual machine with Vagrant and a workstation setup
Creating and uploading a simple cookbook
Troubleshooting
Self-test questions
Summary
Chapter 4: Learning about Cookbooks
Cookbook types
Components of a cookbook
Attributes
Definitions
Files
Libraries
Resources and providers
Syntax of resources
Example of resources
Templates
Metadata
Self-test questions
Summary
Chapter 5: Managing the Nodes
Adding and deleting a node
Bootstrapping target nodes
Introducing search
Introducing data bags
Introducing handler
Self-test questions
Summary
Chapter 6: Working with an Open Source Chef Server
System requirements
Installing an open source Chef server
Installing an open source Chef server on a VMware Fusion virtual machine – Ubuntu 12.04
Using community cookbooks
Upgradation of the open source Chef server
Self-test questions
Summary
Chapter 7: Working with the On-premises Chef Server Setup
The on-premises Chef server
Benefits of on-premises Chef
Types of on-premises Chef installations
Downloading the installation package
Prerequisites for the standalone on-premises Chef installation
Installing standalone on-premises Chef
Prerequisites for the tiered on-premises Chef installation
Installing tiered on-premises Chef
Prerequisites for the high-availability Chef installation
Installing the high-availability Chef server
Managing on-premises Chef
Self-test questions
Summary
Chapter 8: Managing Chef on Cloud Infrastructure
What is cloud computing?
Why Chef with cloud infrastructure?
AWS EC2 bootstrapping using Chef
Rackspace Cloud server bootstrapping
VMware and Chef
Self-test questions
Summary
Chapter 9: Best Practices while Using Chef
Chef anti-patterns and patterns
Testing cookbooks
Best practices for effective usage of Chef
Self-test questions
Summary
Chapter 10: Case Studies on Different Chef Deployments
Case studies of Hosted Chef deployments
Case studies of Private Chef deployment
Case studies of the open source Chef deployment
Case studies of the Chef-solo deployment
Self-test questions
Summary

What You Will Learn

  • Learn the basic fundamentals of automation and gain a detailed architectural understanding of each component of Chef
  • Install all the components of Chef, including troubleshooting instructions
  • Explore the intricacies of Cookbook writing and every component of a Cookbook
  • Work with the open source Chef server and learn about its installation on a virtual machine
  • Discover the Private Chef Server and its various types of installations
  • Familiarize yourself with the best practices while working with Chef, and the various consumer case studies of different types of Chef deployment for their infrastructure

Authors

Table of Contents

Chapter 1: An Overview of Automation and Advent of Chef
Automation
Why automation is needed
Introduction to Chef
Existing automation tools and comparison with Chef
Self-test questions
Summary
Chapter 2: Different Components of Chef's Anatomy
The Chef automation
The Chef framework
Chef components
The Chef server API
GitHub
Chef-solo
The Chef community
Chef-run
Integration of Chef with Vagrant
A quick hands-on experience of a Hosted Chef server
Self-test questions
Summary
Chapter 3: Workstation Setup and Cookbook Creation
The VirtualBox installation
The Vagrant installation
The Git installation
Installation and configuration of a workstation
Workstation setup - creating a Chef repository
Launching a virtual machine with Vagrant and a workstation setup
Creating and uploading a simple cookbook
Troubleshooting
Self-test questions
Summary
Chapter 4: Learning about Cookbooks
Cookbook types
Components of a cookbook
Attributes
Definitions
Files
Libraries
Resources and providers
Syntax of resources
Example of resources
Templates
Metadata
Self-test questions
Summary
Chapter 5: Managing the Nodes
Adding and deleting a node
Bootstrapping target nodes
Introducing search
Introducing data bags
Introducing handler
Self-test questions
Summary
Chapter 6: Working with an Open Source Chef Server
System requirements
Installing an open source Chef server
Installing an open source Chef server on a VMware Fusion virtual machine – Ubuntu 12.04
Using community cookbooks
Upgradation of the open source Chef server
Self-test questions
Summary
Chapter 7: Working with the On-premises Chef Server Setup
The on-premises Chef server
Benefits of on-premises Chef
Types of on-premises Chef installations
Downloading the installation package
Prerequisites for the standalone on-premises Chef installation
Installing standalone on-premises Chef
Prerequisites for the tiered on-premises Chef installation
Installing tiered on-premises Chef
Prerequisites for the high-availability Chef installation
Installing the high-availability Chef server
Managing on-premises Chef
Self-test questions
Summary
Chapter 8: Managing Chef on Cloud Infrastructure
What is cloud computing?
Why Chef with cloud infrastructure?
AWS EC2 bootstrapping using Chef
Rackspace Cloud server bootstrapping
VMware and Chef
Self-test questions
Summary
Chapter 9: Best Practices while Using Chef
Chef anti-patterns and patterns
Testing cookbooks
Best practices for effective usage of Chef
Self-test questions
Summary
Chapter 10: Case Studies on Different Chef Deployments
Case studies of Hosted Chef deployments
Case studies of Private Chef deployment
Case studies of the open source Chef deployment
Case studies of the Chef-solo deployment
Self-test questions
Summary

Book Details

ISBN 139781783285211
Paperback316 pages
Read More
From 1 reviews

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
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Continuous Delivery and DevOps – A Quickstart Guide - Second Edition Book Cover
Continuous Delivery and DevOps – A Quickstart Guide - Second Edition
$ 17.99
$ 12.60