aws-serverless

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AWS Serverless

AWS Serverless

Overview

概述

Domain expertise for building serverless applications on AWS. Covers Lambda configuration, API Gateway debugging, Step Functions orchestration, EventBridge patterns, event source mappings, concurrency tuning, cold start optimization, deployment with SAM/CDK, production readiness, and troubleshooting across all serverless services.
Works best with the AWS MCP server — enables running CLI commands, querying CloudWatch, and validating configurations directly. All guidance also works with standard AWS CLI access.
Note: Reference files contain specific runtime versions, quota values, and feature matrices that may change. When precision matters (e.g., deploying to production, choosing a runtime, or checking a quota), confirm values against current AWS documentation rather than relying solely on the values in these files.
本内容专注于在AWS上构建无服务器应用程序的领域专业知识。涵盖Lambda配置、API Gateway调试、Step Functions编排、EventBridge模式、事件源映射、并发调优、冷启动优化、通过SAM/CDK进行部署、生产就绪性以及所有无服务器服务的故障排查。
最佳搭配 AWS MCP server —— 支持直接运行CLI命令、查询CloudWatch以及验证配置。所有指南也适用于标准AWS CLI访问方式。
注意: 参考文件包含特定的运行时版本、配额值和功能矩阵,这些内容可能会发生变化。当需要精准信息时(例如部署到生产环境、选择运行时或检查配额),请对照当前AWS文档确认数值,不要仅依赖这些文件中的内容。

Routing

指引路径

User needAction
Building a new serverless appRead architecture.md for pattern selection, then deployment.md for SAM/CDK templates
Debugging an errorRead troubleshooting.md — starts with the 5 most common fixes
Optimizing performance or costRead lambda.md for cold starts and memory tuning, production.md for readiness checklist
Configuring event sources (SQS, DDB Streams, SNS)Read event-sources.md
Step Functions, EventBridge, or orchestrationRead orchestration.md
Concurrency configurationRead concurrency.md
API Gateway setupRead api-gateway.md
Common anti-patternsRead the anti-patterns section in production.md
Starting with PowertoolsUse powertools-handler.py as a template
Spans multiple areasRead the most specific reference first, then consult others as needed
用户需求操作
构建新的无服务器应用阅读architecture.md选择架构模式,然后阅读deployment.md获取SAM/CDK模板
调试错误阅读troubleshooting.md —— 从5种最常见的修复方案开始
优化性能或成本阅读lambda.md了解冷启动和内存调优,阅读production.md查看生产就绪性检查清单
配置事件源(SQS、DDB Streams、SNS)阅读event-sources.md
Step Functions、EventBridge或编排相关阅读orchestration.md
并发配置阅读concurrency.md
API Gateway设置阅读api-gateway.md
常见反模式阅读production.md中的反模式章节
开始使用Powertoolspowertools-handler.py作为模板
涉及多个领域先阅读最相关的参考文档,然后根据需要查阅其他文档

Files

文件说明

FileContent
lambda.mdRuntime, memory/CPU, cold starts, SnapStart, layers, containers
api-gateway.mdREST vs HTTP API, stages, auth, throttling, mapping
event-sources.mdSQS, DDB Streams, SNS, S3, Kinesis triggers
orchestration.mdStep Functions, EventBridge rules/pipes/scheduler
concurrency.mdReserved vs provisioned, scaling, ESM concurrency
architecture.mdPatterns, reference architectures, service selection
deployment.mdSAM/CDK resource types, globals, fast iteration
production.mdReadiness checklist, observability, anti-patterns
troubleshooting.mdError → cause → fix for all serverless services
文件内容
lambda.md运行时、内存/CPU、冷启动、SnapStart、层、容器
api-gateway.mdREST与HTTP API对比、阶段、认证、限流、映射
event-sources.mdSQS、DDB Streams、SNS、S3、Kinesis触发器
orchestration.mdStep Functions、EventBridge规则/管道/调度器
concurrency.md预留并发与预置并发、扩展、ESM并发
architecture.md架构模式、参考架构、服务选择
deployment.mdSAM/CDK资源类型、全局配置、快速迭代
production.md就绪性检查清单、可观测性、反模式
troubleshooting.md所有无服务器服务的错误→原因→修复方案