Configuration Management with Chef-Solo

A comprehensive guide to get you up and running with Chef-Solo.

Configuration Management with Chef-Solo

Progressing
Naveed ur Rahman

A comprehensive guide to get you up and running with Chef-Solo.
$13.99
$22.99
RRP $13.99
RRP $22.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2016

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781783982462
Paperback116 pages

Book Description

Chef is a configuration management tool used to handle the hardest part of infrastructure, easing the deployment of servers and applications to any infrastructure. Chef-Solo is an open source version of the chef-client that allows you to use cookbooks with nodes, without requiring access to a Chef server. In any infrastructure, managing servers is one of the most critical tasks for any server administration. Chef-Solo makes the process of booting and provisioning many machines at the same time much easier.

Configuration Management with Chef-Solo will take you through the workflow of managing one or more servers. It includes many sample recipes to start with, and gradually you will take a look at the different interaction points and will also learn how Chef-Solo helps minimize your efforts to build and manage different machines. You will learn how to run servers while executing Ruby code. This  hands-on guide will help you to understand the importance of this amazing configuration management tool.

Table of Contents

Chapter 1: Introduction to Chef and Chef-Solo
Getting started with Chef
Understanding Chef-Solo
Terminologies
Different use cases
An overview of Chef
Summary
Chapter 2: Setting Up an Environment for Chef-Solo
Installation on Linux and Ubuntu
Prerequisites of Chef-Solo
Cookbooks
Downloading recipes
Chef-Solo configuration
Summary
Chapter 3: Setting Up a Development Environment
Introducing virtual machine
Executing recipes with Vagrant
Creating a Hello World recipe
Summary
Chapter 4: Developing Cookbooks
Exploring Knife
Developing recipes and cookbooks
Berkshelf
Understanding recipes
Resources
Attributes
Metadata
Summary
Chapter 5: More about Cookbooks and Recipes
Using files
Exploring templates
Data bags
Roles
Restarting services and server handling
Summary
Chapter 6: Chef-Solo and Docker
Docker
Installing Docker
The working of Docker
Dockerfiles
Recommended ways to use Chef-Solo
Chef server
Summary

What You Will Learn

  • Define your infrastructure as code in Chef
  • Set up a testing and production environment with Chef-Solo
  • Test the incremental development of a project with Vagrant
  • Develop recipes and manage web and database roles
  • Automate tedious manual tasks
  • Learn to use data bags and write clean cookbooks
  • Create a Docker image using cookbooks
  • Manage and scale your cloud infrastructure by automating your configuration management

Authors

Table of Contents

Chapter 1: Introduction to Chef and Chef-Solo
Getting started with Chef
Understanding Chef-Solo
Terminologies
Different use cases
An overview of Chef
Summary
Chapter 2: Setting Up an Environment for Chef-Solo
Installation on Linux and Ubuntu
Prerequisites of Chef-Solo
Cookbooks
Downloading recipes
Chef-Solo configuration
Summary
Chapter 3: Setting Up a Development Environment
Introducing virtual machine
Executing recipes with Vagrant
Creating a Hello World recipe
Summary
Chapter 4: Developing Cookbooks
Exploring Knife
Developing recipes and cookbooks
Berkshelf
Understanding recipes
Resources
Attributes
Metadata
Summary
Chapter 5: More about Cookbooks and Recipes
Using files
Exploring templates
Data bags
Roles
Restarting services and server handling
Summary
Chapter 6: Chef-Solo and Docker
Docker
Installing Docker
The working of Docker
Dockerfiles
Recommended ways to use Chef-Solo
Chef server
Summary

Book Details

ISBN 139781783982462
Paperback116 pages
Read More

Read More Reviews