What is hot-warm-cold architecture in Elasticsearch?

Answer

The hot-warm-cold architecture is a tiered storage strategy for time-series data (logs, metrics, events) that matches node hardware to data access patterns, reducing cost without sacrificing performance. Hot nodes hold the most recent, most-queried data on fast SSD storage with high CPU and RAM — these handle all writes and the majority of reads. Warm nodes hold older, less-frequently queried data on larger, slower (spinning disk) storage. Cold nodes hold rarely accessed historical data, often with frozen indices that are mounted from snapshots on object storage (S3) and only loaded on demand. Shard allocation filtering (_tier_preference) controls which tier an index lives on, and ILM policies automate the migration between tiers as data ages.