知识卡片
基础设施也需版本化
IaC以可审阅、可版本化的描述声明资源,让环境建立和变化可追溯。不可变基础设施用新实例替换旧实例,减少现场修改导致的漂移;数据库状态仍要按迁移与恢复规则处理,不能随实例任意丢弃。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Design for Speed and Efficiency · 查看原书依据
Immutable infrastructure: Embrace the principle of immutable infrastructure, where you treat your infrastructure as disposable and replaceable. Instead of modifying existing resources, create new versions of your infrastructure and deploy them as separate instances.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第05章《Design for Speed and Efficiency》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch05.xhtml)
- 结论依据:原文的机制或对比支持以下核心判断:IaC以可审阅、可版本化的描述声明资源,让环境建立和变化可追溯。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:Immutable infrastructure: Embrace the principle of immutable infrastructure, where you treat your infrastructure as disposable and replaceable. Instead of modifying existing resources, create new versions of your infrastructure and deploy them as separate instances.