runbooks finops lambda-analysisΒΆ
Auto-generated from
runbooks finops lambda-analysis --helpon 2026-05-21. Source of truth: runbooks PyPI package v1.3.22
Usage: runbooks finops lambda-analysis [OPTIONS]
Lambda cost and activity analysis with optimization signals.
π LAMBDA ENRICHMENT LAYERS (L1-L6 Optimization Scoring)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Layer 1: Discovery β Lambda function inventory β
β Layer 2: Organizations β Account metadata (6 columns) β
β Layer 3: Cost β 12-month Cost Explorer trends β
β Layer 4: CloudWatch β Invocations, errors, duration β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π OPTIMIZATION SIGNALS (L1-L6)
β’ L1: High invocation cost (top 10%) β +10 points (Cost impact)
β’ L2: Idle function (0 invocations 14d) β +15 points (Unused)
β’ L3: Oversized memory (low utilization) β +8 points (Rightsizing)
β’ L4: Cold start issues (high p95/p50) β +5 points (Performance)
β’ L5: High error rate (>5%) β +7 points (Quality issue)
β’ L6: Legacy runtime β +3 points (Security/maintenance)
π― OPTIMIZATION TIERS
β’ HIGH (β₯20 points): Immediate optimization/decommission
β’ MEDIUM (10-19 points): Review and optimize within 30 days
β’ LOW (<10 points): Monitor and maintain current state
π° Sprint 1 Target: Identify serverless optimization opportunities
π Example: runbooks finops lambda-analysis --profile default --output lambda.xlsx
Options:
-p, --profile TEXT AWS profile for Lambda operations
(Organizations, Cost Explorer, CloudWatch)
-o, --output PATH Output enriched Excel file with Lambda
analysis
-r, --regions TEXT AWS regions to analyze (defaults to all
enabled regions)
--enable-organizations / --no-organizations
Enable Organizations metadata enrichment
(default: enabled)
--enable-cost / --no-cost Enable Cost Explorer enrichment (default:
enabled)
-v, --verbose Show detailed logs
--format [compact|table|json] Output format
--output-dir PATH Output directory for exported files
--help Show this message and exit.