Configuration Management with Chef-Solo


Configuration Management with Chef-Solo
eBook: $13.99
Formats: PDF, PacktLib, ePub and Mobi formats
$11.90
save 15%!
Print + free eBook + free PacktLib access to the book: $36.98    Print cover: $22.99
$34.89
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Explore various techniques that will help you save time in Infrastructure management
  • Use the power of Chef-Solo to run your servers and configure and deploy applications in an automated manner
  • This book will help you to understand the need for the configuration management tool and provides you with a step-by-step guide to maintain your existing infrastructure

Book Details

Language : English
Paperback : 116 pages [ 235mm x 191mm ]
Release Date : June 2014
ISBN : 1783982462
ISBN 13 : 9781783982462
Author(s) : Naveed ur Rahman
Topics and Technologies : All Books, Networking and Servers, Open Source


Table of Contents

Preface
Chapter 1: Introduction to Chef and Chef-Solo
Chapter 2: Setting Up an Environment for Chef-Solo
Chapter 3: Setting Up a Development Environment
Chapter 4: Developing Cookbooks
Chapter 5: More about Cookbooks and Recipes
Chapter 6: Chef-Solo and Docker
Index
  • Chapter 1: Introduction to Chef and Chef-Solo
    • Getting started with Chef
    • Understanding Chef-Solo
    • Terminologies
      • List of terminologies
        • Node
        • Workstation
        • Cookbooks
        • Recipes
        • Resources
        • Roles
        • Attributes
        • Templates
        • Data bags
    • Different use cases
      • PHP WordPress
      • Python/Django application
    • An overview of Chef
    • Summary
  • Chapter 2: Setting Up an Environment for Chef-Solo
    • Installation on Linux and Ubuntu
      • Installing Chef as a Ruby gem
      • Installing Chef as a package manager
      • Using the Omnibus installer
    • Prerequisites of Chef-Solo
    • Cookbooks
      • The folder structure
        • Attributes
        • Files
        • Recipes
        • Templates
    • Downloading recipes
    • Chef-Solo configuration
      • Execution of recipes
    • Summary
  • Chapter 4: Developing Cookbooks
    • Exploring Knife
    • Developing recipes and cookbooks
    • Berkshelf
      • The installation of Berkshelf
      • The creation of a Berksfile
    • Understanding recipes
    • Resources
    • Attributes
    • Metadata
    • Summary
  • Chapter 6: Chef-Solo and Docker
    • Docker
    • Installing Docker
    • The working of Docker
    • Dockerfiles
    • Recommended ways to use Chef-Solo
    • Chef server
      • Web UI
      • Erchef
      • Message queues
    • Summary

Naveed ur Rahman

Naveed ur Rahman is a self-taught programmer and an avid traveler. When he is not experimenting with the latest in programming and deployment, he is out camping and watching cricket.

His adventures in programming began at a very young age when he got introduced to GW-BASIC. Now, he has experience working for one of the biggest tech names in the Middle East.

Having worked at the largest technology company in the Middle East, Naveed has helped teams create and deploy applications written in various languages using configuration management tools.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 2 submitted: last submission 23 Jul 2014


Page no: 27 | Errata type: Typo

 

The given link is:

http://ruby-doc.org/stdlib2.1.1/libdoc/erb/rdoc/ERB.html

 

It should be

http://ruby-doc.org/stdlib-2.1.1/libdoc/erb/rdoc/ERB.html

Page no: 30 | Errata type: Code

 

The given command is:

 

$ chef-Solo -c ./solo.rb -j nginx.json

 

 

It should be

 

$ chef-solo -c ./solo.rb -j nginx.json

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Configuration Management with Chef-Solo +    Python High Performance Programming =
50% Off
the second eBook
Price for both: $22.30

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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

In Detail

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.

Approach

This is a step-by-step guide, full of hands-on examples of real-world deployment tasks. Each topic is explained and placed in context, while also pointing out the key details of the concepts used.

Who this book is for

This book is aimed at system administrators and system engineers who have an understanding of configuration management tools and infrastructure. For novice administrators, it contains easy-to-use application recipes to get started immediately.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software