Terraform in Depth: Infrastructure as Code with Terraform and Opentofu
暫譯: 深入探討 Terraform:使用 Terraform 和 Opentofu 的基礎設施即代碼
Hafner, Robert
- 出版商: Manning
- 出版日期: 2025-04-08
- 售價: $2,340
- 貴賓價: 9.5 折 $2,223
- 語言: 英文
- 頁數: 504
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1633438007
- ISBN-13: 9781633438002
海外代購書籍(需單獨結帳)
相關主題
商品描述
An in-depth guide to everything Terraform, complete with newly established best practices and experienced insights into Infrastructure as Code. Terraform and its open-source fork OpenTofu's "Infrastructure as Code (IaC)" approach has redefined the way you manage your infrastructure. Its premise is simple-yet-awesome: provision, update, scale, and replicate your infrastructure with the same ease as your application code. In Terraform in Depth, you'll discover absolutely everything you need to automate and manage your infrastructure with just a few lines of code. Inside Terraform in Depth, you'll learn how to: - Understand and write basic Terraform code
- Avoid vendor lock-in with the open source OpenTofu
- Switch between OpenTofu and Terraform as needed
- Construct continuous integration and continuous delivery (CI/CD) pipelines for Terraform
- Organize Terraform projects and modules for team-based, production use
- Develop and test robust Terraform modules
- Create custom Terraform providers Terraform in Depth is fully up to date with the latest versions, standards, and approaches of Terraform and OpenTofu. Complete and comprehensive, its one-stop approach covers everything from Terraform and OpenTofu's absolute basics all the way to advanced production uses. Every technique is illustrated with the kind of real-world examples infrastructure engineers encounter every day. Forewords by Anton Babenko and Christian Mesh. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology Terraform and its open-source fork OpenTofu practically eliminate manual infrastructure configuration. With the Terraform infrastructure management tool, even complex operations that used to require kludgy scripts and time-sucking tinkering can be created, managed, and shared as an organized codebase. Master Terraform, and you'll be able to update a fleet of machines with just a few lines of code. About the book Terraform in Depth teaches Terraform techniques and Infrastructure as Code (IaC) practices that you can use to deploy and manage applications in the cloud or your on-prem data center. Each chapter includes interesting hands-on examples, such as creating a flexible Terraform module and debugging Terraform plans. You'll quickly learn to define your infrastructure with Terraform. Then, you'll dive into advanced applications, including CI/CD pipelines, creating tools for documentation and security, and Terraform code management. What's inside - Understand and write basic Terraform code
- Avoid vendor lock-in with OpenTofu
- Construct CI/CD pipelines
- Develop and test Terraform modules About the reader For sysadmins, software developers, and cloud engineers famil- iar with the CLI. About the author Robert Hafner has led engineering efforts at numerous startups, including Malwarebytes, Vicarious AI, and Rad AI. He is currently a Distinguished Engineer at a Fortune 100 Telecom. Table of Contents Part 1
1 A brief overview of Terraform
2 Terraform HCL components
3 Terraform variables and modules
4 Expressions and iterations
5 The Terraform plan
Part 2
6 State management
7 Code quality and continuous integration
8 Continuous delivery and deployment
9 Testing and refactoring
Part 3
10 Advanced Terraform topics
11 Alternative interfaces
12 Terraform providers
- Avoid vendor lock-in with the open source OpenTofu
- Switch between OpenTofu and Terraform as needed
- Construct continuous integration and continuous delivery (CI/CD) pipelines for Terraform
- Organize Terraform projects and modules for team-based, production use
- Develop and test robust Terraform modules
- Create custom Terraform providers Terraform in Depth is fully up to date with the latest versions, standards, and approaches of Terraform and OpenTofu. Complete and comprehensive, its one-stop approach covers everything from Terraform and OpenTofu's absolute basics all the way to advanced production uses. Every technique is illustrated with the kind of real-world examples infrastructure engineers encounter every day. Forewords by Anton Babenko and Christian Mesh. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology Terraform and its open-source fork OpenTofu practically eliminate manual infrastructure configuration. With the Terraform infrastructure management tool, even complex operations that used to require kludgy scripts and time-sucking tinkering can be created, managed, and shared as an organized codebase. Master Terraform, and you'll be able to update a fleet of machines with just a few lines of code. About the book Terraform in Depth teaches Terraform techniques and Infrastructure as Code (IaC) practices that you can use to deploy and manage applications in the cloud or your on-prem data center. Each chapter includes interesting hands-on examples, such as creating a flexible Terraform module and debugging Terraform plans. You'll quickly learn to define your infrastructure with Terraform. Then, you'll dive into advanced applications, including CI/CD pipelines, creating tools for documentation and security, and Terraform code management. What's inside - Understand and write basic Terraform code
- Avoid vendor lock-in with OpenTofu
- Construct CI/CD pipelines
- Develop and test Terraform modules About the reader For sysadmins, software developers, and cloud engineers famil- iar with the CLI. About the author Robert Hafner has led engineering efforts at numerous startups, including Malwarebytes, Vicarious AI, and Rad AI. He is currently a Distinguished Engineer at a Fortune 100 Telecom. Table of Contents Part 1
1 A brief overview of Terraform
2 Terraform HCL components
3 Terraform variables and modules
4 Expressions and iterations
5 The Terraform plan
Part 2
6 State management
7 Code quality and continuous integration
8 Continuous delivery and deployment
9 Testing and refactoring
Part 3
10 Advanced Terraform topics
11 Alternative interfaces
12 Terraform providers
商品描述(中文翻譯)
深入探討 Terraform 的全面指南,包含新建立的最佳實踐和對基礎設施即代碼(Infrastructure as Code)的經驗見解。
Terraform 及其開源分支 OpenTofu 的「基礎設施即代碼(IaC)」方法重新定義了您管理基礎設施的方式。其前提簡單卻令人驚豔:以與應用程式代碼相同的簡易性來配置、更新、擴展和複製您的基礎設施。在 Terraform in Depth 中,您將發現自動化和管理基礎設施所需的一切,只需幾行代碼。 在 Terraform in Depth 中,您將學會如何: - 理解並撰寫基本的 Terraform 代碼- 使用開源的 OpenTofu 避免供應商鎖定
- 根據需要在 OpenTofu 和 Terraform 之間切換
- 為 Terraform 構建持續集成和持續交付(CI/CD)管道
- 為團隊基礎的生產使用組織 Terraform 專案和模組
- 開發和測試穩健的 Terraform 模組
- 創建自定義的 Terraform 提供者 Terraform in Depth 完全更新至最新版本、標準和 Terraform 及 OpenTofu 的方法。這本書內容完整且全面,從 Terraform 和 OpenTofu 的基本知識到高級生產使用,涵蓋一切。每個技術都以基礎設施工程師每天遇到的現實範例進行說明。 前言由 Anton Babenko 和 Christian Mesh 撰寫。 購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF 和 ePub 格式電子書。 關於技術 Terraform 及其開源分支 OpenTofu 幾乎消除了手動基礎設施配置。使用 Terraform 基礎設施管理工具,即使是以前需要繁瑣腳本和耗時調整的複雜操作,也可以作為有組織的代碼庫來創建、管理和共享。掌握 Terraform,您將能夠僅用幾行代碼更新一整批機器。 關於本書 Terraform in Depth 教授 Terraform 技術和基礎設施即代碼(IaC)實踐,您可以用來在雲端或本地數據中心部署和管理應用程式。每章都包含有趣的實作範例,例如創建靈活的 Terraform 模組和調試 Terraform 計劃。您將迅速學會如何使用 Terraform 定義您的基礎設施。然後,您將深入探討高級應用,包括 CI/CD 管道、創建文檔和安全工具,以及 Terraform 代碼管理。 內容概覽 - 理解並撰寫基本的 Terraform 代碼
- 使用 OpenTofu 避免供應商鎖定
- 構建 CI/CD 管道
- 開發和測試 Terraform 模組 讀者對象 適合熟悉 CLI 的系統管理員、軟體開發人員和雲端工程師。 關於作者 Robert Hafner 曾在多家初創公司領導工程工作,包括 Malwarebytes、Vicarious AI 和 Rad AI。他目前是一家 Fortune 100 電信公司的傑出工程師。 目錄 第一部分
1 Terraform 簡介
2 Terraform HCL 元件
3 Terraform 變數和模組
4 表達式和迭代
5 Terraform 計劃
第二部分
6 狀態管理
7 代碼質量和持續集成
8 持續交付和部署
9 測試和重構
第三部分
10 高級 Terraform 主題
11 替代介面
12 Terraform 提供者
作者簡介
Robert Hafner has led engineering efforts at numerous startups, including Malwarebytes, Vicarious AI, and Rad AI. He is currently a Senior Principal Architect at a Fortune 100 Telecom in their Developer Experience organization. In his career, he has built large-scale infrastructure with reliability typically reserved for large organizations, while utilizing small, focused teams. When he's not working with computers, he's creating resin art or trying something new in the kitchen. He lives in Chicago with his amazing wife and two cats.
作者簡介(中文翻譯)
羅伯特·哈夫納曾在多家初創公司領導工程工作,包括Malwarebytes、Vicarious AI和Rad AI。他目前是一家《財富》100強電信公司的高級首席架構師,負責開發者體驗組織。在他的職業生涯中,他建立了大規模基礎設施,並具備通常僅限於大型組織的可靠性,同時利用小型專注的團隊。當他不在電腦前工作時,他會創作樹脂藝術或在廚房嘗試新事物。他與他出色的妻子和兩隻貓住在芝加哥。