Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: 贾斯汀·加里森(Justin Garrison) & 克里斯·诺娃(Kris Nova)

Rating No ratings yet

No description

AI Reading Assistant

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

AI guide
【One-Line Pitch】 A methodology-first guide to treating infrastructure as software: it explains when cloud-native infrastructure is worth adopting, how to design and test API-driven infrastructure applications, and how to keep them secure and operable. Best for infrastructure engineers, SREs, and application engineers who must decide what belongs in the platform versus the app. 【Book Arc】 - **Opening (~0%–10%)**: Defines infrastructure broadly (data center, OS, deployment pipeline, configuration management) and traces the path from physical servers to virtualization, IaaS, and finally cloud-native infrastructure; frames why abstraction and APIs matter. - **Early (~10%–30%)**: Explains what makes an application cloud-native — microservices, health reporting, metrics, resilience, declarative behavior — and how those traits shift responsibility from operators to the application and platform. - **Early (~30%–40%)**: Asks the adoption question honestly: readiness of applications, people, systems, and business; includes warning signs such as manual resource requests, manual maintenance windows, and spreadsheet inventory. - **Middle (~40%–55%)**: Maps the evolution of infrastructure representation from diagrams to scripts to infrastructure as code to infrastructure as software, emphasizing declarative desired state and continuous reconciliation. - **Late (~55%–85%)**: Moves into building infrastructure applications: API design, state management, reconciler patterns, audit relationships, testing, monitoring, and application lifecycle management. - **Ending (~85%–100%)**: Covers security through policy as code, immutable infrastructure, auditing, and implementation strategy; appendices add network resilience patterns, lock-in discussion, and a Box case study. 【Key Takeaways】 - **Cloud-native infrastructure is infrastructure hidden behind useful abstractions, controlled by APIs, and managed by software** (Opening): the goal is not merely running in a cloud but making infrastructure consumable like a platform. - **Cloud-native applications absorb responsibilities that used to belong to operations** (Early): health checks, metrics, resilience, and graceful degradation move into the application, while the platform handles scheduling, service discovery, and resource management. - **Adoption is a readiness decision, not a maturity badge** (Early): the book repeatedly warns against forcing cloud-native patterns before applications, teams, systems, and business processes can support them. - **Infrastructure representation evolves from diagrams to scripts to code to software** (Middle): diagrams communicate to humans, scripts automate steps, code declares desired state, and software continuously reconciles that state. - **Declarative desired state plus continuous reconciliation is the core operational pattern** (Middle): this is what allows infrastructure to be versioned, mutated, and kept from drifting. - **Infrastructure applications deserve the same engineering discipline as business applications** (Late): API design, feature addition and deprecation, testing, monitoring, and lifecycle management all apply. - **Security is implemented as policy and immutability, not as after-the-fact hardening** (Ending): policy as code, infrastructure auditing, and immutable infrastructure reduce configuration drift and unauthorized change. - **Automation is not autonomy** (Early): automation amplifies human decisions; cloud-native systems should decide and act on their own, notifying humans only when they cannot determine the correct action. 【Reading Tips】 - Read Chapters 1–2 carefully if you are deciding whether to adopt cloud-native infrastructure; they are the book’s decision framework, not just background. - Skim the historical server and virtualization material if you already know IaaS, but slow down on the application characteristics in Chapter 1 and the readiness questions in Chapter 2. - Treat Chapter 3 as the conceptual hinge: make sure you understand the difference between infrastructure as code and infrastructure as software before moving to design and development chapters. - Use Chapters 4–6 as a practical checklist for building infrastructure applications: API design, reconciler patterns, state, testing, and monitoring. - Read the appendices selectively: network resilience patterns and lock-in are useful for architecture debates; the Box case study shows how one company applied the ideas. 【Coverage Limits】 The excerpts cover the book’s structure, opening chapters, and conceptual arc in detail, but later implementation chapters and appendices are represented mainly by headings and brief fragments; specific examples, code, and case-study details are not fully covered here.
Excerpt 1
序 企业在IT基础架构方面需要长期巨额的投入,在云计算时代,如何使巨额的投入获得更高的效率?答案就是构建云原生基础架构。云原生基础架构可以极大地提高企业IT敏捷性,为业务赋能,从而增强企业的竞争力。 本书讨论的基础架构是广义的,是指所有业务层以下的软件和硬件,具体包括数据中心、操作系统、部署流水线、配置管理以及支...
View in text
Excerpt 2
架构的新模式。 这种抽象是有用的,它成功地为使用者隐藏了复杂性。它可以使更复杂的技术得到使用,但也限制了技术的使用方式。它适用于底层技术,比如TCP如何抽象IP;或者更高层,比如虚拟机如何抽象物理服务器。抽象应该总是让使用者“向上层堆栈移动”而不是重新实现底层。 云原生基础架构需要抽象底层IaaS产品形成一层抽象...
View in text
Excerpt 3
] ,其他一切应该由基础架构或其他应用程序来管理。 确认应用程序已经准备好的另一种方式是,当它们需要动态扩展多个实例时。扩展通常意指负载平衡器后面相同应用程序的多个副本。它假定应用程序将状态存储在存储服务(即数据库)中,并且不需要运行实例之间的复杂协调。 动态应用程序管理意味着人无须做这项工作。应用程序度量标准会...
View in text
Excerpt 4
例3-2:基础架构即脚本 #!/bin/bash # Create a VM with a NIC on 10.0.0.17 and a 100gb volume createVm.sh 10.0.0.17 100 # Transfer the bootstrapping script scp ~/vm_prov...
View in text
Excerpt 5
变数据结构,它将停止工作,或程序会出错(甚至可能不会编译)。 基础架构应用程序的核心元素是其将表述映射到一组资源的能力。资源是一个单独的任务,需要运行以满足基础架构的要求。这些任务中的每一个将负责以某种方式改变基础架构。 基本的例子可能是部署一个新的虚拟机、建立一个新的网络或配置一个现有的虚拟机。这些工作单元中的...
View in text
Excerpt 6
ge", "networkInterfaces": [{ "type": "local", "ip": "10.0.0.11" }], "subnet": "my-subnet", "dnsRecords": [{ "type": "A", "ttl": 60, "value": "my-vm.example.c...
View in text
Excerpt 7
定义的大部分断言在技术上都是单元测试!单元测试只测试一个小的组件,但在大型集成测试系统的环境中使用时,它们可能非常有用。 在测试基础架构时鼓励进行单元测试,但要记住,它们运行的环境通常需要相当的开销。这种开销通常以集成测试的形式出现。将单元测试的小而谨慎的检查与集成测试更大的整体测试模式相结合,使基础架构工程师对...
View in text
Excerpt 8
运行的一些特征。如果我们具有第1章中规定的特征,那么对应用程序还有另一个考虑因素:我们如何有效地对它们进行管理? 7.2 实现云原生模式 诸如弹性、服务发现、配置、日志记录、健康检查和度量标准等模式都可以通过不同的方式在应用程序中实现,常见做法是通过导入到应用程序的标准语言库。Netflix OSS( https...
View in text
Tags
AI categories
Cloud NativeDevOpsSoftware
ISBN: 北京华章图文信息有限公司
Publisher: B07H2ZTX5T
Publish Year: 2018
Language: English
Pages: 193
File Format: EPUB
File Size: 737.9 KB