Cloud infrastructure

OpenSearch: Cost per Ingested Terabyte

Evaluate OpenSearch instance upgrades using cost per ingested terabyte, with practical checks for indexing speed, search freshness and recovery headroom.
By MR Solutions
6 min readPublished
Amber data tiles flow through three navy server towers into teal blocks above a large measuring dial.

Buy useful capacity

A growing logging bill can make a cheaper OpenSearch node look attractive. Yet the business needs logs to arrive reliably, become searchable on time and remain available during incidents. Compare the cost of delivering that service, rather than the hourly price of a node.

For an indexing-heavy workload, cost per ingested terabyte is a useful starting measure. This article proposes a way to use it when evaluating an r6gd migration to OI2, while keeping query performance, retention and recovery requirements in view.

What the Confluent results establish

In an AWS case study published on 10 November 2026, AWS and Confluent authors report reducing Confluent’s OpenSearch hot tier from 168 r6gd nodes to 90 OI2 nodes, approximately 46% fewer. Average indexing latency across four domains fell from around 0.18–0.19 milliseconds to 0.08–0.10 milliseconds.

The team first changed instance type at the same node count to observe efficiency, then removed nodes in steps. OI2 cost more per node; the estimated 18% reduction at on-demand prices came from consolidation. Unchanged UltraWarm, snapshot and dedicated-master costs were excluded. The larger reserved-instance savings were estimates pending a quoted rate.

Treat these as reported production results for one workload. The comparison used a seven-day r6gd baseline and a 24-hour OI2 window at final node counts, at reportedly equal ingest. It did not benchmark R8gd. Heap pressure limited consolidation, and one domain’s average CPU rose from 43% to 56%. These observations support a staged evaluation, not a savings forecast for another cluster.

Define the numerator and denominator

Use this proposed measure: cost per ingested TB = cost within an agreed boundary during the test ÷ successfully accepted source-data TB during the same period. Choose decimal TB or binary TiB explicitly, measure bytes at a consistent point before indexing, and avoid counting retries or replica copies as new business data.

Keep two views. A hot-tier view isolates the instance decision and its associated storage charges. A whole-service view includes dedicated masters, warm storage, snapshots, data transfer and other attributable charges where applicable. Record one-off migration and testing costs separately, so recurring savings do not hide the effort needed to obtain them.

Compare the same Region, currency, pricing date and purchasing basis. First assess both options on a consistent on-demand basis; then model commitments separately using actual quotes and existing obligations. A lower unit cost during a busy test does not establish a lower monthly bill. Model the expected monthly volume and idle capacity as well.

Test efficiency before consolidation

Start with a representative baseline covering ordinary operations, busy periods and a relevant retention cycle. Record source bytes, document sizes, ingest pipelines, primary and replica shard counts, refresh settings, retention, query mix and concurrent users. AWS’s sizing guidance emphasises representative workload testing rather than a universal sizing formula.

First test the instance change while holding node count and workload configuration steady where supported. Track cost per TB alongside ingestion failures, queues, CPU, JVM heap, storage, query tail latency and the time from log creation to a searchable result. Record necessary configuration changes explicitly; otherwise the test cannot isolate the effect of the instance choice.

Then reduce capacity in controlled steps. After each step, repeat peak ingest, representative queries and recovery tests before proceeding. Agree acceptable latency, backlog clearance and recovery times beforehand. Stop consolidation when a guardrail fails, even if CPU appears spare. Fewer nodes can concentrate shards and heap pressure, as the Confluent case illustrates.

Check freshness and migration constraints

Do not equate a lower IndexingLatency metric with faster end-to-end log availability. AWS documents that this metric excludes translog synchronisation time on optimised instances; replicas can also lag behind primaries. Measure search freshness directly and monitor replication lag alongside indexing latency.

Before scheduling a change, check the target Region, engine version, encryption, master-node compatibility and migration path. Current AWS guidance specifies OpenSearch 2.15 or later for existing domains moving to optimised instances, encryption at rest and Graviton dedicated masters where used. It requires a refresh interval of at least 10 seconds. Check whether that freshness constraint fits the business.

Do not assume that changing the instance type back is a recovery plan. The documentation explicitly describes migration to OR1 as irreversible; that statement alone does not establish OI2 rollback behaviour. Confirm the supported OI2 path for the specific domain and document a tested recovery approach before approving a production change.

Make a decision with operational evidence

Choose between retaining the current fleet, improving configuration or testing a different instance family by asking which option can meet the agreed service targets at an acceptable recurring cost. Keep bulk sizes, refresh settings and shard changes visible as separate experiments, rather than crediting every improvement to hardware.

Ask the evaluation owner for a short decision record: the cost boundary, measured workload, comparable test windows, cost per TB, projected monthly bill, service-target results and recovery evidence. Approve consolidation only when that record shows enough capacity for busy periods and failure recovery. Reserve capacity after the sustainable footprint is understood.

Frequently asked questions

Does 46% fewer nodes mean a 46% lower bill?

No. In the AWS Confluent case study, OI2 had a higher per-node price. The authors estimated about 18% lower hot-tier cost at on-demand rates after consolidation, excluding unchanged storage and dedicated-master tiers. Use your own scope and prices to calculate savings.

Why measure source-data TB rather than replica indexing?

The proposed method uses source-data bytes to keep the amount of business input comparable. AWS documents that optimised instances index on primary shards and that reported indexing rates can differ with replicas. Replica work is therefore an unreliable common denominator across architectures.

Does faster indexing guarantee fresher search results?

No. AWS states that IndexingLatency excludes translog synchronisation time and that replicas can lag. Test the time from a source event to a searchable result, alongside replication lag, before claiming an improvement in operational visibility.

When should we stop removing nodes?

Stop when an agreed service or recovery guardrail is breached, then restore sufficient headroom. In the reported Confluent migration, JVM heap rather than CPU set the consolidation limit. Your workload needs representative peak, query and recovery tests to establish its own safe footprint.

Sources and scope

Research checked on 17 November 2026. AWS and Confluent case study; optimised-instance guidance; domain sizing; supported instance types. The evaluation method is editorial guidance, not an MR Solutions benchmark or a prediction of savings.

← Back to the article library

Start with a conversation

Put your ideas into practice.

Tell us about your business and what you want to improve. We’ll help you find a sensible place to start.

Discuss Your Project