HashiCorp Packer in Production: Efficiently manage sets of images for your digital transformation or cloud adoption journey

Boero, John

  • 出版商: Packt Publishing
  • 出版日期: 2023-07-14
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 190
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803246855
  • ISBN-13: 9781803246857
  • 相關分類: ARMDevOpsDocker
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Set up automated workflows to keep systems and applications consistent globally, regardless of architecture, cloud, or container runtime

Purchase of the print or Kindle book includes a free PDF eBook


Key Features:

  • Automate building and modifying complex software images across multiple OSs and container engines
  • Minimize cost by keeping your systems ready across multiple architectures, including ARM and future RISC-V processors
  • Speed up your time to market by building and testing apps using upstream and future releases


Book Description:

Creating machine images can be time-consuming and error-prone when done manually. HashiCorp Packer enables you to automate this process by defining the configuration in a simple, declarative syntax. This configuration is then used to create machine images for multiple environments and cloud providers.

The book begins by showing you how to create your first manifest while helping you understand the available components. You'll then configure the most common built-in builder options for Packer and use runtime provisioners to reconfigure a source image for desired tasks. You'll also learn how to control logging for troubleshooting errors in complex builds and explore monitoring options for multiple logs at once. As you advance, you'll build on your initial manifest for a local application that'll easily migrate to another builder or cloud. The chapters also help you get to grips with basic container image options in different formats while scaling large builds in production. Finally, you'll develop a life cycle and retention policy for images, automate packer builds, and protect your production environment from nefarious plugins.

By the end of this book, you'll be equipped to smoothen collaboration and reduce the risk of errors by creating machine images consistently and automatically based on your defined configuration.


What You Will Learn:

  • Build and maintain consistent system images across multiple platforms
  • Create machine images that can be used in multiple environments
  • Write a spec for a local Packer virtual machine in JSON and HCL
  • Build a container image with Packer in different formats
  • Automate Packer with continuous delivery pipelines
  • Discover how to customize Packer by writing plugins


Who this book is for:

This book is for DevOps engineers, Cloud engineers, and teams responsible for maintaining platform and application images for enterprise private, hybrid, or multi-cloud environments. Familiarity with operating systems and virtualization concepts, with or without using a cloud provider, is a prerequisite.

商品描述(中文翻譯)

設置自動化工作流程,以保持全球系統和應用程式的一致性,無論架構、雲端或容器運行時如何。

購買印刷版或Kindle書籍將包含免費的PDF電子書。

主要特點:
- 自動化在多個操作系統和容器引擎上構建和修改複雜軟體映像
- 通過在多個架構(包括ARM和未來的RISC-V處理器)上保持系統準備,降低成本
- 通過使用上游和未來版本構建和測試應用程式,加快上市時間

書籍描述:
手動創建機器映像可能耗時且容易出錯。HashiCorp Packer使您能夠通過定義簡單的聲明語法來自動化此過程。然後,使用此配置來為多個環境和雲端提供者創建機器映像。

本書首先向您展示如何創建第一個清單,同時幫助您了解可用的組件。然後,您將配置Packer的最常見內建生成器選項,並使用運行時供應者重新配置源映像以執行所需的任務。您還將學習如何控制日誌記錄以排除複雜構建中的錯誤,並探索同時監控多個日誌的選項。隨著您的進展,您將在本地應用程式的初始清單上進行擴展,該應用程式可以輕鬆遷移到另一個生成器或雲端。本書的章節還將幫助您瞭解不同格式的基本容器映像選項,同時在生產環境中擴展大型構建。最後,您將為映像開發生命週期和保留策略,自動化packer構建,並保護生產環境免受惡意插件的影響。

通過閱讀本書,您將能夠根據您定義的配置,以一致且自動化的方式創建機器映像,從而改善協作並減少錯誤風險。

學到的內容:
- 在多個平台上構建和維護一致的系統映像
- 創建可在多個環境中使用的機器映像
- 使用JSON和HCL為本地Packer虛擬機器編寫規範
- 使用不同格式的Packer構建容器映像
- 通過持續交付流程自動化Packer
- 通過編寫插件自定義Packer

本書適合DevOps工程師、雲端工程師和負責維護企業私有、混合或多雲環境的平台和應用程式映像的團隊。熟悉操作系統和虛擬化概念,無論是否使用雲端提供者,都是先決條件。