Files
nexus/wiki/sources/public-cloud-learning-sessions-opentext-serverless-computing-20240903-160139-mee.md

63 lines
4.2 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: "Public Cloud Learning Sessions - Serverless Computing - 20240903"
type: source
tags:
- Serverless
- AWS
- Lambda
- Step-Functions
- API-Gateway
- OpenText
date: 2026-04-14
---
## Source File
- [[raw/Cloud & DevOps/Public-Cloud-Learning-Sessions/09_Serverless_AI/public-cloud-learning-sessions-opentext-serverless-computing-20240903-160139-mee.md]]
## Summary用中文描述
- 核心主题AWS 无服务器计算Serverless Computing聚焦 AWS Lambda、Step Functions 和 API Gateway
- 问题域:企业如何在云环境中简化应用管理、降低运维负担、加快上市时间
- 方法/机制Lambda 事件驱动函数 → Step Functions 工作流编排 → API Gateway API 管理AWS 与客户共担运维责任AWS 管基础设施,客户管代码)
- 结论/价值Serverless 模式通过"按需付费、自动扩展、内置安全"实现更快的市场响应和更低的 TCO
## Key Claims用中文描述
- AWS Lambda 将运维任务(负载均衡、自动扩展、安全)转移给云厂商,使开发团队专注业务逻辑
- Lambda 函数支持同步、异步、事件源映射三种触发模式,可精细控制执行行为
- Lambda 权限模型分为执行角色(决定函数能做什么)和资源策略(决定谁能触发函数)
- Step Functions 提供 Standard 和 Express 两种工作流类型,分别适用于长时任务和高频场景
- SAMServerless Application Model基于 CloudFormation 构建,支持本地开发和测试 Lambda 函数
- Lambda Layers 允许跨函数共享公共代码提高复用率ARM64 架构提供更优性价比
## Key Quotes
> "Whenever you see that you have written code and you want that this code is final, you can publish as a new version." — Lambda 版本发布的核心理念
## Key Concepts
- [[Serverless-Computing]]:将运维任务(负载均衡、自动扩展、安全补丁)转移给云厂商,使开发团队专注业务代码,无需管理服务器
- [[Event-Driven-Architecture]]Lambda 函数由事件触发——状态的任何变化即为事件,是 Serverless 的核心执行模型
- [[Lambda-Permissions-Model]]执行角色Execution Role决定函数能调用哪些 AWS 资源资源策略Resource-Based Policy决定谁能触发该函数两者分离实现最小权限原则
- [[Step-Functions]]:无服务器工作流编排服务,基于状态机协调多个 AWS 服务,支持 Standard长时和 Express高频两种工作流类型
- [[API-Gateway]]:托管式 API 创建、发布和安全服务提供边缘优化Edge-Optimized、区域Regional和私有Private三种部署选项
- [[SAM-Serverless-Application-Model]]:基于 CloudFormation 的无服务器应用开发工具,支持本地测试和部署 Lambda 函数
## Key Entities
- [[AWS Lambda]]AWS 无服务器计算核心服务开发者只需提供业务逻辑AWS 负责其余所有运维工作
- [[AWS Step Functions]]AWS 无服务器工作流编排服务,用于协调多个 Lambda 函数和 AWS 服务的执行顺序
- [[Amazon API Gateway]]AWS 托管式 API 管理服务,用于创建、发布和维护安全的企业级 API
- [[Amazon EventBridge]]AWS 事件总线服务,用于在应用程序之间路由事件(属于 AWS Serverless 服务组合)
- [[AWS Fargate]]AWS 无服务器容器计算服务(与 Lambda 互补,提供容器层的 Serverless 选项)
- [[Amazon Q]]AWS AI 助手,可用于调试 Lambda 函数CloudWatch 集成)
- [[CloudWatch]]AWS 监控服务Lambda 将指标(请求数、错误数、延迟、节流)上报至此
- [[Serverless-Application-Model-SAM]]AWS 官方开源工具,基于 CloudFormation 简化无服务器应用的本地开发和部署
## Connections
- [[AWS-Lambda]] ← is_a ← [[Serverless-Computing]]
- [[AWS-Step-Functions]] ← orchestrates ← [[AWS-Lambda]]
- [[Amazon-API-Gateway]] ← exposes ← [[AWS-Lambda]]
- [[Amazon-EventBridge]] ← triggers ← [[AWS-Lambda]]
- [[SAM-Serverless-Application-Model]] ← builds_on ← [[CloudFormation]]
- [[CloudWatch]] ← monitors ← [[AWS-Lambda]]
- [[Serverless-Computing]] ← extends ← [[Cloud-Transformation-Programme]]
## Contradictions
- 无已知冲突