Reading notes from 2017; technical explanations revised November 17, 2026. Architecture and scale observations refer to the source period.
Size the workload before choosing shards
This is a historical Elasticsearch Service talk. Product names and operating guidance have changed since 2017; the original sizing heuristics should not be treated as fixed rules for every modern search cluster.
A primary shard contains part of an index. Replicas provide additional copies and can serve reads; they also consume storage and receive writes. Dedicated cluster-manager nodes coordinate cluster state, while data nodes carry the indexed data and much of the query workload. Replication and placement across availability zones solve different failure concerns.
An illustrative storage calculation
Suppose an indexed corpus occupies 2 TB of primary storage and the example design chooses 40 GB per primary shard. That yields roughly 50 primaries. One replica doubles the shard-copy storage to about 4 TB before operational headroom. This arithmetic is a planning example, not a recommended shard count.
The right layout also depends on query fan-out, indexing rate, mappings, retention, recovery time, and disk watermarks. A cluster sized only for steady-state storage may fail to recover comfortably after a node loss.
Check write and read behavior
Measure representative queries and ingestion together. Watch uneven routing, hot shards, merge work, heap, and recovery. Use the source’s figures to understand its environment, then benchmark the configuration and release actually being deployed.
Conceptual illustration; labels describe responsibilities, not a deployment specification.

Source Elasticsearch Service ingestion and analytics workflow. Historical source figure; attribution and context are in References.