
Debugging Lambda Timeouts
Systematic Lambda timeout investigation that correlates configuration, CloudWatch telemetry, networking, and cold starts into ranked fixes.
- skills.sh installs
- 7.1K
- GitHub stars
- 3.5K
- last updated
- Aug 21, 2026
What it does
- Covers timeout diagnosis across function configuration, CloudWatch logs and metrics, VPC networking, cold starts, memory limits, and downstream dependencies
- Includes a step-by-step debugging procedure in
references/lambda-timeout-debugging.mdplus troubleshooting for access, missing logs, and log query time ranges - Produces a structured report with prioritized recommendations, and reviews supplied Lambda code for timeout-prone patterns
- Designed for engineers investigating a function that is timing out or approaching its timeout limit
Install
$ npx -y skills add aws/agent-toolkit-for-aws --skill debugging-lambda-timeouts -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Debugging Lambda Timeouts
Overview
Domain expertise for systematically investigating AWS Lambda function timeout failures by analyzing function configuration, CloudWatch logs, metrics, dependencies, cold start patterns, and code. Identifies common causes such as insufficient timeout settings, external service delays, database connection issues, memory constraints, and inefficient code patterns, then provides prioritized recommendations.
Debug a Lambda timeout
To investigate and resolve Lambda timeout issues, follow the procedure exactly. See Lambda timeout debugging procedure.
The procedure collects function configuration, CloudWatch metrics and logs, dependency analysis, and cold start patterns. If Lambda code is provided, it also reviews the code for timeout-prone patterns. Results are compiled into a structured debugging report with prioritized recommendations.
Troubleshooting
Function not found
Verify the function name and region. Use aws lambda list-functions --region <region>
to list available functions.
No logs available
Details
- Repository
- github.com/aws/agent-toolkit-for-aws
- Categories
- Debugging, DevOps & Cloud
- First seen
- May 16, 2026
More from aws/agent-toolkit-for-aws
All 54- Setting Up Cloudwatch Alarm Notifications7K
- Launching Ec2 Instance With Best Practices7K
- Troubleshooting S3 Files7K
- Creating Api Gateway Stage7K
- Setting Up Ec2 Instance Profiles6.9K
- Signing In To Aws6.9K
- Creating Production Vpc Multi Az6.8K
- Aws Transform6.8K
- Connecting Vpcs With Peering6.8K
- Enabling Lambda Vpc Internet Access6.8K
- Exporting Rds To S36.7K
- Setting Up Cloudtrail Multi Region6.7K
- Creating Amazon Aurora Db Cluster With Instances6.7K
- Troubleshooting Efs6.6K
- Routing Traffic With Route53 And Cloudfront6.5K
- Aws Lambda Durable Functions6.5K
- Aws Lambda Managed Instances6.4K
- Aws Cleanrooms6.4K
- Aws Lambda Microvms6.4K
- Amazon Aurora Postgresql6.3K
- Querying Aws S36.2K
- Amazon Opensearch Service6.2K
- Querying Aws Cloudwatch6.2K
- Amazon Elasticache6.1K
Similar to Debugging Lambda Timeouts
More Debugging
troubleshooting-application-failuresaws/agent-toolkit-for-aws7.2K installsStructured CloudWatch log investigation that finds failing log groups, error patterns, and likely root causes.
aws-lambda-durable-functionsaws/agent-toolkit-for-aws6.5K installsBuild resilient multi-step AWS Lambda workflows with checkpointed replay, waits, callbacks, and saga compensation.
aws-cloudwatch-investigationgithub/awesome-copilot41.4K starsReusable CloudWatch investigation patterns covering Logs Insights queries, deploy correlation, and blast-radius scoping.
lambdaitsmostafa/aws-agent-skills179 installsServerless compute skill covering function creation, triggers, event source mappings, layers, cold starts, and invocation debugging.
aws-lambda-functionsaj-geddes/useful-ai-prompts621 installsServerless function guide for AWS Lambda covering event triggers, IAM permissions, layers, and environment setup.
cloudwatchitsmostafa/aws-agent-skills248 installsComprehensive AWS CloudWatch guide covering metrics, logs, alarms, Insights queries, and dashboards with CLI and boto3 examples.