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

27 lines
973 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Immutable Infrastructure"
type: concept
tags: [devops, security, infrastructure]
sources: [what-is-devsecops-best-practices-benefits-and-tools]
last_updated: 2026-04-20
---
## Definition
不可变基础设施Immutable Infrastructure是一种基础设施管理范式组件在部署后不会发生变化。如果需要更新或修复会创建新版本并替换旧版本而不是修改现有组件。
## Core Principles
- **不可变性**:部署后不修改现有组件
- **幂等性**:每次部署产生相同结果
- **版本化**:每个版本都可追溯和回滚
- **自动化替换**:通过自动化工具完成组件替换
## Benefits
- 降低配置漂移风险
- 提高环境一致性
- 简化回滚操作
- 增强安全性和可预测性
## Connections
- [[DevSecOps]] ← enables ← [[Immutable Infrastructure]]
- [[IaC]] ← implements ← [[Immutable Infrastructure]]
- [[容器化]] ← uses ← [[Immutable Infrastructure]]