Chef Cookbook Third Edition

Matthias Marschall

  • 出版商: Packt Publishing
  • 出版日期: 2017-02-03
  • 定價: $1,470
  • 售價: 6.0$882
  • 語言: 英文
  • 頁數: 268
  • 裝訂: Paperback
  • ISBN: 1786465353
  • ISBN-13: 9781786465351
  • 相關分類: Chef
  • 立即出貨 (庫存=1)

商品描述

Key Features

  • Immediately apply Devops techniques and methods, then combine them with powerful Chef tools to manage and automate your infrastructure
  • Address the growing challenges of code management, cloud, and virtualization with Chef quickly
  • Explore and implement the important aspects of Chef Automate using this recipe-based guide

Book Description

Chef is a configuration management tool that lets you automate your more cumbersome IT infrastructure processes and control a large network of computers (and virtual machines) from one master server.

This book will help you solve everyday problems with your IT infrastructure with Chef. It will start with recipes that show you how to effectively manage your infrastructure and solve problems with users, applications, and automation. You will then come across a new testing framework, InSpec, to test any node in your infrastructure.

Further on, you will learn to customize plugins and write cross-platform cookbooks depending on the platform. You will also install packages from a third-party repository and learn how to manage users and applications. Toward the end, you will build high-availability services and explore what Habitat is and how you can implement it.

What you will learn

  • Test your cookbooks with Test Kitchen
  • Manage cookbook dependencies with Berkshelf
  • Use reporting to keep track of what happens during the execution of chef-client runs across all of the machines
  • Create custom Ohai and Knife plugins
  • Build a high-availability service using Heartbeat
  • Use a HAProxy to load-balance multiple web servers

About the Author

Matthias Marschall is a Software Engineer "made in Germany". His four children make sure that he feels comfortable in lively environments, and stays in control of chaotic situations. A lean and agile engineering lead, he's passionate about continuous delivery, infrastructure automation, and all things DevOps.

In recent years, Matthias has helped build several web-based businesses, first with Java and then with Ruby on Rails. He quickly grew into system administration, writing his own configuration management tool before migrating his whole infrastructure to Chef in its early days.

In 2008, he started a blog (http://www.agileweboperations.com) together with Dan Ackerson. There, they have shared their ideas about DevOps since the early days of the continually emerging movement. You can find him on Twitter as @mmarschall.

Matthias holds a Master's degree in Computer Science (Dipl.-Inf. (FH)) and teaches courses on Agile Software Development at the University of Augsburg.

When not writing or coding, Matthias enjoys drawing cartoons and playing Go. He lives near Munich, Germany.

Table of Contents

  1. Chef Infrastructure
  2. Evaluating and Troubleshooting Cookbooks and Chef Runs
  3. Chef Language and Style
  4. Writing Better Cookbooks
  5. Working with Files and Packages
  6. Users and Applications
  7. Servers and Cloud Infrastructure

商品描述(中文翻譯)

主要特點


  • 立即應用DevOps技術和方法,並結合強大的Chef工具來管理和自動化您的基礎架構

  • 快速應對代碼管理、雲端和虛擬化等不斷增長的挑戰

  • 使用基於配方的指南探索和實施Chef Automate的重要方面

書籍描述

Chef是一個配置管理工具,可以讓您自動化繁瑣的IT基礎架構流程,並從一個主控伺服器控制大型電腦網絡(和虛擬機器)。

本書將幫助您使用Chef解決IT基礎架構的日常問題。它將從配方開始,向您展示如何有效地管理基礎架構並解決用戶、應用程序和自動化方面的問題。然後,您將遇到一個新的測試框架InSpec,用於測試基礎架構中的任何節點。

此外,您還將學習根據平台自定義插件並編寫跨平台的配方。您還將從第三方存儲庫安裝套件,並學習如何管理用戶和應用程序。最後,您將構建高可用性服務,並探索Habitat是什麼以及如何實施它。

您將學到什麼


  • 使用Test Kitchen測試您的配方

  • 使用Berkshelf管理配方依賴

  • 使用報告跟踪chef-client在所有機器上執行期間發生的情況

  • 創建自定義的Ohai和Knife插件

  • 使用Heartbeat構建高可用性服務

  • 使用HAProxy平衡多個Web伺服器的負載

關於作者

Matthias Marschall是一位來自德國的軟體工程師。他的四個孩子確保他在熱鬧的環境中感到舒適,並掌控混亂的情況。作為一位精益和敏捷的工程領導者,他對持續交付、基礎架構自動化和所有與DevOps相關的事物充滿熱情。

近年來,Matthias幫助建立了幾個基於Web的企業,首先使用Java,然後轉向Ruby on Rails。在Chef剛剛起步的時候,他迅速成為系統管理員,並編寫了自己的配置管理工具,然後將整個基礎架構遷移到了Chef上。

2008年,他與Dan Ackerson一起開始了一個博客(http://www.agileweboperations.com)。從那時起,他們就分享了他們對DevOps的想法,這是一個不斷出現的運動。您可以在Twitter上找到他,帳號是@mmarschall。

Matthias擁有計算機科學碩士學位(Dipl.-Inf.(FH)),並在奧格斯堡大學教授關於敏捷軟體開發的課程。

當他不寫作或編碼時,Matthias喜歡畫漫畫和下圍棋。他住在德國慕尼黑附近。

目錄


  1. Chef基礎架構

  2. 評估和疑難排解配方和Chef執行

  3. Chef語言和風格

  4. 撰寫更好的配方

  5. 處理文件和套件

  6. 用戶和應用程序

  7. 伺服器和雲端基礎架構