Skip to content

runbooks finops optimize-s3-lifecycleΒΆ

enrich | Cost Management

⏳ PENDING Β· T:βœ”οΈ V:⏳ A:⏳ X:βž–

S3 Lifecycle Optimizer - Automated Storage Cost Optimization

Analyzes AWS/Azure cost data via Cost Explorer API for optimization opportunities

Single account

runbooks finops optimize-s3-lifecycle --profile <account>

Org-wide (Landing Zone)

# [A3-FinOps] org-wide via Landing Zone hub profile
runbooks finops optimize-s3-lifecycle --all-profile $AWS_BILLING_PROFILE

Show a Cost Management analyzes aws/azure cost data via cost explorer api for optimization opportunities summary for last month across all accounts and flag any anomalies above the 20% threshold.

☁️ Cloud Foundations: CF10 CF16

All Parameters (7)
Parameter Type Default Description
--profile/-p STRING - AWS profile name (default: from AWS_PROFILE env var)
--regions STRING - AWS regions to include in cost analysis β€” omitting regions with active workloads = missing spend in the report.
--dry-run BOOL True Execute in dry-run mode (READ-ONLY analysis)
-f/--format/--export-format CHOICE(json csv) json
--output-file STRING - Output file path for results export
--output-dir PATH . Destination folder for cost reports β€” wrong path = exports silently overwrite each other or land in an unreviewed...
--cross-validate BOOL False Re-derive the primary result from a 2nd independent source and report agreement vs the >=99.5%% accuracy gate.