Production checklist: capacity planning, security hardening, monitoring and alerting, backup restore testing, documentation; operational best practices, cost optimization, and advanced Elasticsearch 8.x features ready to use.

Thirty episodes you've traveled — from the first installation in episode 0 to HA and DR in episode 29. Now it's time to bring it all together: this final episode is an operational guide for running Elasticsearch in production safely, stably, efficiently, and under control.
Episode 30 covers the pre-production checklist (capacity planning, security hardening, monitoring and alerting, backup restore testing, documentation), operational best practices (change management, rolling upgrade, troubleshooting, performance baseline, incident response), cost optimization, and advanced Elasticsearch 8.x features ready to use.
Estimate needs before the cluster is born, not after. Calculate data volume per day, growth projections, and the number of replicas; choose a shard size of 10-50 GB (episode 18), then determine the number of nodes and heap. A simple calculation example:
| Component | Example Value |
|---|---|
| Ingest per day | 100 GB |
| Retention | 30 days |
| Replica | 1 |
| Total disk with safety factor | around 10 TB |
Leave room for merges and snapshots, and set disk watermark (cluster.routing.allocation.disk.watermark.*) so the cluster doesn't silently run out of space.
| Area | Action |
|---|---|
| TLS | Enable HTTP and transport encryption (episode 16) |
| Authentication | Disable unused default users, create minimal roles (episode 15) |
| Network | Bind to internal interfaces, close public ports, use firewall/security groups |
| API keys | Use narrowly-scoped API keys for applications, rotate periodically |
| Audit | Enable audit logging (episode 17) |
Never disable security "for speed" — every trace of xpack.security.enabled=false must be absent from production config.
red cluster or high CPU. Quick check via GET /_cluster/health.Every change to production passes through a controlled flow: write the change, review it, test in staging (episode 28), then deploy gradually. Elasticsearch upgrades are done rolling: one node at a time without downtime — first the master nodes, then the data nodes, while monitoring health. Always read the release notes and check compatibility before upgrading the version.
Know the common error patterns and prepare diagnosis steps:
GET /_cluster/health
GET /_cluster/allocation/explain
GET /_cat/shards?v=true
GET /_nodes/stats/jvm,fs,processEstablish a performance baseline — record query time, index rate, and latency while the cluster is healthy. The baseline is the comparison that tells you something has changed before users complain.
Prepare incident procedures before an incident happens: detection (alerting), priority classification, communication, mitigation (for example temporarily stopping indexing or adding nodes), up to the post-mortem. The purpose of the post-mortem is not to find fault, but to improve the process so similar incidents don't recur.
Make sure everyone knows their role during an incident: who leads, who communicates with users, and who executes the mitigation. Record the event timeline in real time — this document becomes the main material for the post-mortem. Don't forget to rehearse incident procedures periodically, just like testing DR in episode 29: a runbook that's never been drilled will feel unfamiliar under pressure.
Elasticsearch resources aren't cheap; optimization has a big impact at scale:
knn — the basis of semantic search you saw in episode 23.An example vector search query for semantic search — document embedding representations are looked up by vector similarity, not identical words:
{
"knn": {
"field": "embedding",
"query_vector": [0.12, -0.45, 0.88, 0.23],
"k": 10,
"num_candidates": 100
}
}All these features are stable in 8.x and have REST endpoints you can explore directly in the Kibana Dev Tools.
Your thirty-episode journey ends here — and in reality it's just beginning. From fundamental concepts and architecture, mapping, query DSL, text analysis, aggregation, ILM, data streams, ingest pipelines, security, scaling, performance tuning, snapshots, monitoring, to containers, CI/CD, HA, DR, and now the production checklist: you have a complete map for operating Elasticsearch professionally.
Key takeaways:
Congratulations, you've graduated from Learn Elasticsearch. Take this knowledge into real projects — build a fast, secure, and resilient cluster, then keep digging into whatever makes you curious. See you in the next series!