Share E-Book
Scan to open this page

Scan with your phone to open this page

AuthorKief Morris

The past decade has seen cloud and infrastructure as code move out of shadow IT and startups and into the mainstream. Many organizations rushed to adopt new technologies as part of their transformation into digital businesses, creating a sprawl of unmaintainable infrastructure codebases. Now, there is a need to consolidate cloud-based systems into mature foundations for sustainable growth. With this book, Kief Morris describes patterns and practices for building and evolving infrastructure as code. The third edition provides a broader context for infrastructure, explaining how to design and implement infrastructure to better support the strategic goals and challenges of an organization, such as supporting growth while better managing costs. This book covers: • Foundational concepts, including an exploration of declarative and procedural infrastructure languages, where infrastructure code fits into a comprehensive platform strategy and enterprise architecture, and how to test and deliver infrastructure code. • Infrastructure architecture, drawing on lessons learned from software design and engineering to build infrastructure codebases that can be evolved and scaled to enable growth and adapt to changing needs. • Patterns for building infrastructure to support platform services across the complicated, varied landscapes of real-world IT systems, from physical hardware to virtual servers to cloud-native clusters and serverless workloads. • Workflows and operating models that combine automation and cloud with forward-thinking approaches like Agile and DevOps for rigorous governance of compliance, cost, security, and operational quality.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A definitive, tool-agnostic guide to designing, building, and evolving infrastructure as code (IaC) for cloud-native and hybrid systems, ideal for platform engineers, architects, and DevOps leaders who want to move beyond tool-specific tutorials and master the principles that make infrastructure scalable, testable, and governable. 【Book Arc】 - **Opening (~0%–25%)**: Sets the stage by explaining why IaC has moved from shadow IT to mainstream, and why many organizations now struggle with "sprawl" of unmaintainable infrastructure codebases. It frames the book as a principles-first resource, not a tool manual, and introduces the core tension between declarative and procedural infrastructure languages. - **Early (~25%–50%)**: Dives into foundational concepts, including how infrastructure code fits into a broader platform strategy and enterprise architecture. It emphasizes testing and delivery of infrastructure code, drawing on software engineering practices to treat infrastructure as a first-class software product. - **Middle (~50%–75%)**: Shifts to infrastructure architecture, applying lessons from software design to build codebases that can evolve and scale. This section covers patterns for structuring infrastructure code, managing environments, and adapting to changing organizational needs without rewriting everything. - **Late (~75%–100%)**: Explores patterns for real-world IT landscapes, from physical hardware to virtual servers, cloud-native clusters, and serverless workloads. It also covers workflows and operating models that combine automation with Agile and DevOps, focusing on governance of compliance, cost, security, and operational quality. - **Ending (~100%)**: Concludes by reinforcing the book's identity as a principles, practices, and patterns book—not a tool guide. It positions the third edition as a full embrace of cloud infrastructure management, building on earlier editions' focus on VMs and the VM-cloud divide, and leaves readers with a mindset for designing effective infrastructure code regardless of tooling. 【Key Takeaways】 - **Principles over tools** (Early): The book's core value is mastering baseline principles of IaC, not memorizing tool syntax. This ensures your skills remain relevant as tools and platforms evolve—a key differentiator from most technical guides. - **Declarative vs. procedural languages** (Early): Understanding the trade-offs between these two approaches is foundational. Declarative languages define desired state, while procedural ones specify steps; choosing the right one depends on your system's complexity and change frequency. - **Infrastructure as a software product** (Early): Treating infrastructure code like application code—with versioning, testing, and delivery pipelines—is essential for reliability. This prevents the "sprawl" problem many organizations face after rushed cloud adoption. - **Architecture enables evolution** (Middle): Drawing on software design patterns, you can structure infrastructure codebases to be modular and adaptable. This allows your infrastructure to scale with organizational growth without accumulating technical debt. - **Patterns for diverse landscapes** (Late): Real-world systems span physical hardware, VMs, cloud-native clusters, and serverless. The book provides patterns to manage this variety cohesively, avoiding siloed approaches that break down at scale. - **Governance through automation** (Late): Combining automation with Agile and DevOps isn't just about speed—it's about rigorous governance. Automated workflows can enforce compliance, cost controls, security, and operational quality consistently across environments. - **Cloud-native is the new baseline** (Ending): The third edition fully embraces cloud infrastructure management, moving beyond the VM-centric focus of earlier editions. This reflects the current reality where cloud-native and serverless are mainstream, not experimental. 【Reading Tips】 - **Skim the opening chapters** (~0–25%) if you're already familiar with IaC basics; they're valuable for context but may feel introductory for experienced practitioners. Focus instead on the declarative vs. procedural discussion, which is a recurring theme. - **Deep-read the architecture section** (~50–75%) if you're designing or refactoring infrastructure codebases. This is where the book's software-engineering lens shines, offering patterns you can apply immediately. - **Treat the patterns section** (~75–100%) as a reference, not a cover-to-cover read. Jump to the pattern relevant to your current challenge—whether it's managing serverless workloads or governing multi-cloud environments. - **Don't expect tool tutorials**—the book deliberately avoids deep dives into specific tools like Terraform or Ansible. If you need hands-on syntax, pair this with tool-specific documentation; use this book for the "why" behind your choices. - **Take away the governance mindset** (Late): The workflows and operating models section is underrated. Even if you're not a manager, understanding how automation enables compliance and cost control will make you a more effective engineer. 【Coverage Limits】 The excerpts focus on the book's framing, praise, and table of contents; they do not cover specific chapter details, code examples, or individual patterns. This guide synthesizes the book's stated scope and positioning rather than its full technical content.
Excerpt 1
书名: Infrastructure as Code, 3rd Edition Designing and Delivering Dynamic Systems for the Cloud Age (Kief Morris) (Z-Library) 作者: Kief Morris The past decade ...
View in text
Page 2
0 3 5 8 5 7 9 9 9 ISBN: 978-1-098-15035-8 US $79.99 CAN $99.99 SOF T WARE DEVELOPMENT Kief Morris is a distinguished engineer at Thoughtworks, where he helps...
View in text
Excerpt 3
ounder of Gruntwork and author of Terraform: Up and Running Praise for Infrastructure as Code, Third Edition Infrastructure as Code is one of those fundament...
View in text
Page 4
edition is a natural evolution of the 1st and 2nd editions. Where the 1st edition is primarily focused on managing virtual machines, and the 2nd is on the di...
View in text
Page 6
eilly logo is a registered trademark of O’Reilly Media, Inc. Infrastructure as Code, the cover image, and related trade dress are trademarks of O’Reilly Medi...
View in text
Tags
AI categories
Cloud NativeDevOpsBackend
ISBN: 109815035X
Publisher: O'Reilly Media
Publish Year: 2025
Language: English
Pages: 552
File Format: PDF
File Size: 12.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…