Incremental cost / 7-day billing window
—
28-day topic-total traffic, regional AWS prices, 7D/8D retention, canned-reader egress, and Provisioned RF sensitivity in one auditable model.
Same scope, retention, readers, RF 3, and 20% storage headroom.
Serverless base cluster and partition hours are excluded because they already exist and do not change with retention.
| Cost line | Formula | Monthly USD | Confidence |
|---|---|---|---|
| Selected monthly total / lower bound | |||
Measured NV topic-total expression series; these are different workloads and should not be substituted.
| Metric | STOCK | STOCK_EXTENDED | Interpretation |
|---|
Retention target and replay requirement are separated so the decision is traceable.
Σ(BytesInPerSec × 300) ÷ 2³⁰Integrates every five-minute topic-total rate.Daily GiB × (target days − 1) × $/GB-monthAWS manages Serverless replication; RF is not multiplied.Monthly input GiB × readers × $/GB-outA full reader consumes every topic byte once.Daily GiB × days × RF × headroom × EBS rateRF applies only to Provisioned Standard physical capacity.3 brokers × 730 hours × regional m7g.large rateOne broker per AZ; a lower-bound dedicated cluster.Monthly run-rate × 168 ÷ 730Prorates steady-state cost to seven days.Measured facts, inferred aggregation, estimates, and missing inputs are kept separate.
retention.ms=691200000 and retention.bytes=-1. Before change approval, export the CloudWatch widget source JSON, confirm current STOCK retention and partition count, and confirm whether both canned consumers replay the full topic. These checks refine the dollar amount; they do not make a new cluster economical for this retention change.| Timestamp (UTC+6) | STOCK B/s | STOCK_EXTENDED B/s | STOCK GiB / 5m |
|---|