1. Why several clusters #
Isolate, bring closer, protect.
Architecture #
- Isolate data by region (sovereignty) or by team.
- Limit the size of each cluster (simpler operations, contained failures).
- Have a continuously fed standby cluster.
2. Cross-cluster search #
One query, several clusters.
Configuration #
PUT _cluster/settings
{ "persistent": { "cluster": { "remote": {
"eu": { "seeds": [ "es-eu-01:9300" ] },
"us": { "seeds": [ "es-us-01:9300" ] } } } } }
GET eu:logs-*,us:logs-*/_search
{ "query": { "match": { "message": "timeout" } } }Good to know: Remote clusters must have compatible versions; security is configured with certificates or remote cluster API keys depending on the version.
3. Cross-cluster replication #
Copying continuously.
Replication #
PUT orders-follower/_ccr/follow
{ "remote_cluster": "eu", "leader_index": "orders" }
# suivre automatiquement les nouveaux index
PUT _ccr/auto_follow/logs
{ "remote_cluster": "eu", "leader_index_patterns": [ "logs-*" ], "follow_index_pattern": "{{leader_index}}-copy" }- The follower is read-only; in a disaster, it is turned into a regular index (
_ccr/pause_follow,close,unfollow). - CCR complements snapshots but does not replace them: a deletion or logical corruption is replicated.
Good to know: Some features depend on the version and the license level (Basic, Platinum, Enterprise): check them in the documentation and on the Elastic subscriptions page before using them in production.
My progress
Sign in to track your progress and take notes. Sign in
💬 Recent discussions about this course
- Elasticsearch : supprimer automatiquement les logs de plus de 30 jours✓ solved · 1 reply(ies)
Ask a question about this lesson →See all discussions about this course
Course Glossary
RBAC (Role-Based Access Control)
An access control method where permissions are assigned to specific roles (e.g., admin, reader) rather than directly to individual users.
Authentication
The process of verifying the identity of a user or system (e.g., login/password, tokens, biometrics).
Authorization
The process that occurs after authentication to determine if the entity has the necessary rights and privileges to access a resource.
API Key
A unique alphanumeric code used to identify, authenticate, and authorize access to an Application Programming Interface (API).
Architecture
The overall structural design of an IT system, defining its various components, their relationships, and the principles guiding its evolution.
Repository
A centralized storage location. This can refer to a source code repository (e.g., Git) or an artifact and binary repository (e.g., Harbor, Nexus, Arti...
Elasticsearch
A distributed, RESTful search and analytics engine capable of addressing a growing number of use cases, built on Apache Lucene.
Recommended Articles
Snapshot Lifecycle Management: automated backups, restore and disaster recovery
Protect Elasticsearch data: snapshot repositories (S3, GCS, Azure, file system), SLM policies wit...
The OpenSearch cluster in depth: nodes, shards and replication
Understanding how an OpenSearch cluster works inside: node roles, cluster manager election, shard...
Vector search and RAG with Elasticsearch: dense_vector, kNN, hybrid search and RRF
Build semantic search with Elasticsearch: embeddings, the dense_vector field, kNN search, semanti...
Mimir: the write path (distributor, ingesters, replication and HA deduplication)
How Mimir ingests metrics: remote_write, distributor validation and limits, hash ring, ingester r...
Administering distributed Splunk
Designing and administering a production Splunk platform: reference architectures, indexer cluste...
VictoriaMetrics cluster: vminsert, vmselect, vmstorage and multi-tenancy
The VictoriaMetrics cluster architecture: the roles of vminsert, vmselect and vmstorage, data dis...
Elasticsearch distributed architecture: node roles, shards, replicas and allocation
Understand how Elasticsearch works as a distributed system: node roles, master nodes and quorum, ...
Elasticsearch monitoring and troubleshooting: health, unassigned shards, JVM, hot threads and slow logs
Diagnose an Elasticsearch cluster: cluster health and CAT APIs, unassigned shards and allocation ...
Understanding the concept of score
The concept of score allows Elasticsearch to rank your documents by relevance during a search.