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

74 lines
3.8 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 (OpenText) - Serverless Computing - 20240903"
type: source
tags:
- Serverless
- AWS
- Lambda
- Step Functions
- API Gateway
- OpenText
date: 2024-09-03
---
## Source File
- [[Cloud & DevOps/Public-Cloud-Learning-Sessions/09_Serverless_AI/public-cloud-learning-sessions-opentext-serverless-computing-20240903-160139-mee.md]]
## Summary用中文描述
- 核心主题AWS 无服务器计算技术详解,聚焦 Lambda、Step Functions 和 API Gateway
- 问题域:现代企业在云上快速创新、保证安全合规、降低 TCO 时面临的运维负担
- 方法/机制AWS 无服务器服务将运维任务转移给云厂商让开发团队专注业务代码Lambda 由事件驱动,支持同步/异步/事件源映射三种调用方式
- 结论/价值:无服务器模式实现更快的上市时间、业务聚焦、按需付费、自动扩展和内置安全
## Key Claims用中文描述
- Lambda 函数由事件触发AWS 负责负载均衡、自动扩展和安全防护
- Lambda 支持执行角色(定义函数权限)和基于资源的策略(控制谁能触发函数)
- Step Functions 是基于状态机的无服务器工作流编排服务,分标准和快速两种类型
- API Gateway 提供边缘优化、地域和私有三种部署选项
- SAMServerless Application Model基于 CloudFormation支持本地开发和测试 Lambda 函数
## 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 版本管理机制说明
> "Lambda functions are triggered by events, which are changes in state." — Lambda 核心触发机制
## Key Concepts
- [[Serverless Computing]]:将运维任务转移给云厂商,开发者专注业务代码,无需管理服务器
- [[AWS Lambda]]:事件驱动的无服务器计算服务,支持同步/异步/事件源映射三种触发方式
- [[AWS Step Functions]]:基于状态机的无服务器工作流服务,分 Standard 和 Express 两种模式
- [[Amazon API Gateway]]:托管服务,用于创建、发布和保护 API提供边缘优化/地域/私有三种部署选项
- [[AWS SAM]]Serverless Application Model基于 CloudFormation 的无服务器应用本地开发和部署工具
- [[Lambda Layers]]:在多个 Lambda 函数间共享公共代码的机制
- [[Lambda Versioning and Aliases]]Lambda 的版本管理和别名机制,用于管理代码变更
## Key Entities
- [[AWS Lambda]]AWS 提供的核心无服务器计算服务
- [[Amazon Q]]AWS AI 助手,可用于调试 Lambda 函数
- [[Amazon CloudWatch]]Lambda 指标(请求数、错误数、延迟、限流)监控服务
- [[AWS Fargate]]AWS 无服务器容器计算服务
- [[Amazon EventBridge]]AWS 无服务器事件总线服务
- [[OpenText]]:本次学习课程的主办方
## Connections
- [[AWS Lambda]] ← 核心服务 ← [[Public Cloud Learning Sessions (OpenText) - Serverless Computing]]
- [[AWS Step Functions]] ← 工作流编排 ← [[AWS Lambda]]
- [[Amazon API Gateway]] ← API 暴露层 ← [[AWS Lambda]]
- [[AWS SAM]] ← 部署工具 ← [[AWS Lambda]]
- [[Amazon CloudWatch]] ← 监控层 ← [[AWS Lambda]]
- [[Amazon Q]] ← 调试辅助 ← [[AWS Lambda]]
- [[AWS Fargate]] ← 同级服务 ← [[AWS Lambda]]
- [[Amazon EventBridge]] ← 事件驱动源 ← [[AWS Lambda]]
## Contradictions
- 与 [[Public Cloud Learning Sessions (OpenText) - Event Driven Architecture Part 1]] 可能存在观点交叉:
- 冲突点Event Driven Architecture 与 Lambda 事件驱动模型的边界定义
- 当前观点Lambda 是 Event Driven Architecture 的具体实现之一
- 对方观点Event Driven Architecture 是一个更宽泛的架构模式,涵盖消息队列、事件总线等多种实现