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: AWS Lambda Getting Started: Deploy Your First Function
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.
- AWS Lambda Getting Started: Deploy Your First Function
- AWS Lambda Getting Started: First Steps
- AWS SAM Local: Setup Guide
- Test AWS Lambda Locally with SAM CLI
- Test Serverless Apps Locally with AWS SAM CLI
- AWS SAM CLI: Local Development Tips
- Node.js Unit Testing for AWS Lambda Functions
- AWS Lambda Unit Testing Best Practices 2024
- AWS SAM Pipelines: Setup 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: Choosing the Right Event Router
- 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
- Session Management in AWS Lambda: Guide
- Serverless BFF Pattern with AWS Lambda
- AWS API Gateway Pricing Explained
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.
- 7 Ways to Mitigate AWS Lambda Cold Starts
- AWS Lambda Metrics Explained
- How to Analyze Lambda Metrics in CloudWatch
- AWS Lambda Insights: Serverless Monitoring Guide
- 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 Lambda Costs
- AWS Serverless Cost Allocation: Tagging Best Practices