Lambda and serverless development
Follow a first Lambda function through local development, testing, and application integration. The sections separate setup from workflow design and production troubleshooting, so you can go directly to the task you are working on. For questions about the networks or security around these applications, continue to the networking and security topic guides.
Start here: Deploy Your First AWS Lambda Function: A Step-by-Step Guide
Build and test a function
Start with a first function, then choose a SAM guide for your local development task. The unit-testing articles focus on application behavior; the pipeline guide covers the publishing workflow rather than local invocation.
- Deploy Your First AWS Lambda Function: A Step-by-Step Guide
- AWS Lambda Fundamentals: Core Concepts and First Setup
- AWS SAM Local Setup: Install the CLI and Test a Lambda Function
- Test AWS Lambda Locally with SAM CLI
- Test Serverless Apps Locally with AWS SAM CLI
- AWS SAM CLI Local Development: Build, Invoke, Debug
- Node.js Unit Testing for AWS Lambda Functions
- AWS Lambda Unit Testing: A Practical Guide for Node.js
- AWS SAM Pipelines: Setup and CI/CD Guide
Connect services and manage state
Use the comparison and pattern guides when your problem involves routing events, coordinating steps, or maintaining application state. The BFF guide addresses an application interface, while the saga and integration articles cover workflows spanning multiple operations.
- EventBridge vs. SQS: Event Buses, Queues, and When to Use Both
- 10 EventBridge Best Practices for Optimal Performance
- Enterprise Integration Patterns with AWS Services
- AWS Step Functions: Saga Pattern Implementation
- 5 Patterns for Resilient Serverless State Management on AWS
- AWS Lambda Session Management: JWTs, Cookies, and DynamoDB
- Serverless Backend for Frontend (BFF) with AWS Lambda
- Amazon API Gateway Pricing: HTTP, REST & WebSocket Costs
Observe performance and control cost
Move from metric definitions to a focused troubleshooting or alerting task. Cold starts, error monitoring, and cost allocation are separate concerns; choose the guide that matches the symptom or operational decision you need to investigate.
- AWS Lambda Cold Starts: 7 Practical Mitigation Strategies
- AWS Lambda Metrics Explained: What to Monitor in CloudWatch
- How to Analyze AWS Lambda Metrics in CloudWatch
- AWS Lambda Insights: Metrics, Setup, Costs, and Limits
- Monitor Lambda Errors with CloudWatch
- Lambda Error Monitoring: Best Practices
- How to Set Up CloudWatch Alarms for Lambda
- How to Use CloudWatch Metrics to Lower AWS Lambda Costs
- AWS Serverless Cost Allocation: Tagging Best Practices