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.

Browse the chapters to quickly get to know the structure and content of the book.
By browsing the chapters of this book you can quickly see what each part teaches, how the whole is structured and where to start. Each chapter focuses on one concept or skill, and you see its main topics so your choice is more informed. Whether you follow the whole book or just one part, this view helps you find your way.
This section lays the essential groundwork for understanding Infrastructure as Code (IaC). It explores fundamental concepts, tracing the evolution from traditional IT to the cloud era and highlighting the strategic importance of IaC for modern organizations. Readers will learn about the core principles of cloud infrastructure, various IaC tools and languages, and how to define everything as code for continuous delivery and testing.

1. What Is Infrastructure as Code?

2. Principles of Cloud Infrastructure

3. Infrastructure Platforms

4. Infrastructure as Code Tools and Languages
This part delves into the design principles and architecture for building robust and scalable Infrastructure as Code. It covers how to apply software design concepts like cohesion and coupling to infrastructure, structure components, and design deployable stacks. The section also explores patterns for configuring, integrating, and building servers as code, along with strategies for designing multi-environment architectures and application runtime infrastructure.

5. Design Principles for Infrastructure as Code

6. Infrastructure Components

7. Designing Deployable Infrastructure Stacks

8. Configuring Infrastructure Stack Instances

9. Integrating Infrastructure Stacks

10. Designing Infrastructure Code Libraries

11. Building Servers as Code

12. Designing Environments

13. Providing Application Runtime Infrastructure
This section focuses on the delivery workflows and operational models for Infrastructure as Code, emphasizing Continuous Delivery principles. It details how to automate the full process, build and distribute infrastructure code, and implement delivery pipelines. The discussion extends to comprehensive testing strategies for infrastructure code, various deployment approaches, and methods for safely changing existing live infrastructure while minimizing disruption. Finally, it addresses governance and compliance as code to ensure operational quality and security.

14. Core Infrastructure Delivery Workflows

15. Building and Distributing Infrastructure as Code

16. Implementing Infrastructure Delivery with Pipelines

17. Infrastructure Code Testing Strategy

18. Infrastructure Code Testing Implementation

19. Deploying Infrastructure

20. Changing Existing Infrastructure

21. Governance
21 chapters in production
Reading time
11:55
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026