Files
nexus/wiki/concepts/Serverless-DevOps.md
2026-04-15 08:15:46 +08:00

39 lines
1.3 KiB
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: Serverless DevOps
type: concept
tags: [Serverless, FaaS, DevOps, 无服务器]
sources: ["sources/DevOps-Culture-and-Transformation.md"]
last_updated: 2026-04-15
---
## 定义
Serverless DevOps 是一种利用函数即服务Function as a ServiceFaaS来减少运维开销的 DevOps 实践模式,开发者专注于业务逻辑,平台自动处理资源分配和扩缩容。
## 核心特征
- **无需服务器管理**:开发者不直接管理底层基础设施
- **按需执行**:函数仅在事件触发时运行,按执行时间计费
- **自动扩缩容**:平台自动根据负载调整资源
- **状态无关**:函数设计为无状态,状态存储于外部服务
## 关键平台
- AWS Lambda[[Amazon]] 的 FaaS 服务
- Azure Functions微软云函数计算
- Google Cloud Functions谷歌云函数服务
## 在 DevOps 中的角色
- Serverless DevOps 是 [[DevOps]] 的进化方向,理论上"消除"服务器管理
- 减少 [[CI/CD Pipelines]] 中的基础设施配置工作
- 与 [[GitOps]] 协同,通过 Git 触发函数部署
## 局限性
- 冷启动延迟
-厂商锁定Vendor Lock-in
- 调试和监控复杂性增加
- 不适合长时间运行任务
## Aliases
- Serverless
- Serverless DevOps
- FaaS
- 函数即服务