Skip to content

runbooks finops s3-noncurrent-sizing

enrich | Cost Management

PENDING · T:⏳ V:➖ A:➖ X:➖

Measure noncurrent-version bytes for S3 buckets via live boto3 paginator.

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

Single account

runbooks finops s3-noncurrent-sizing --profile <account>

Org-wide (Landing Zone)

# [A3-FinOps] org-wide via Landing Zone hub profile
runbooks finops s3-noncurrent-sizing --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 (8)
Parameter Type Default Description
--profile STRING - AWS named profile (ReadOnlyAccess).
--region STRING - AWS region for the S3 client.
--bucket STRING - Bucket name(s) to measure.
--control-bucket STRING - Name of a known reference bucket.
--expected-gb FLOAT - Expected noncurrent_gb for the control bucket (centre of ±tolerance check).
--expected-versions INT - Minimum expected total_version_count for the control bucket.
--tolerance-pct FLOAT 5.0 Tolerance percentage around --expected-gb for the control-gate check.
--output-format CHOICE(table json) table