New advertisers: 50% off your first month with code FIRSTMONTHSee slots
aws avatar

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
View on GitHub

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.md plus 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 -y

Installs 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

Similar to Debugging Lambda Timeouts

More Debugging