Files
nexus/wiki/concepts/Immutable-Infrastructure.md
2026-04-20 07:08:14 +08:00

973 B
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
Immutable Infrastructure concept
devops
security
infrastructure
what-is-devsecops-best-practices-benefits-and-tools
2026-04-20

Definition

不可变基础设施Immutable Infrastructure是一种基础设施管理范式组件在部署后不会发生变化。如果需要更新或修复会创建新版本并替换旧版本而不是修改现有组件。

Core Principles

  • 不可变性:部署后不修改现有组件
  • 幂等性:每次部署产生相同结果
  • 版本化:每个版本都可追溯和回滚
  • 自动化替换:通过自动化工具完成组件替换

Benefits

  • 降低配置漂移风险
  • 提高环境一致性
  • 简化回滚操作
  • 增强安全性和可预测性

Connections