runbooks finops analyze-s3-storage-lensΒΆ
Auto-generated from
runbooks finops analyze-s3-storage-lens --helpon 2026-05-21. Source of truth: runbooks PyPI package v1.3.22
Usage: runbooks finops analyze-s3-storage-lens [OPTIONS]
Analyze S3 Storage Lens metrics for cost optimization.
Implements Cost Optimization Playbook Feature #6 (S3 Storage Lens
integration).
Capabilities: - Bucket lifecycle policy gap detection - Intelligent-Tiering
recommendations - Incomplete multipart upload (MPU) detection - Fastest-
growing bucket identification - Storage class distribution analysis
Business Impact: Typical savings of $30K-$150K annually
Options:
--profile TEXT AWS profile for single-account operations.
π Profile Selection Guide:
βββββββββββββββββββββββββββββββββββββββββββββββ
Single Account β Use --profile YOUR_PROFILE Example:
--profile dev-account When: Developer/operator working in
one AWS account
Multi-Account LZ β Use --all-profiles (see inventory
commands) Example: --all-profiles When: Platform team
discovering across organization
π Enrichment Profiles (Automatic): β’ Organizations:
MANAGEMENT_PROFILE β’ Costs: BILLING_PROFILE Note:
Separate from discovery profile
Decision: Single account = --profile | Multi-account =
--all-profiles
--region TEXT AWS region override (default: ap-southeast-2)
--dry-run Safe analysis mode - no resource modifications (enterprise
default)
--region TEXT AWS region for S3 client (S3 is global)
--help Show this message and exit.