2

After doing some research, elastic has built in remote replication. Below is an example of the command for setting up replication to another elastic instance:

PUT /_cluster/settings
{
  "persistent": {
    "cluster.remote.leader.seeds": ["x.xxx.xx.xx:xxxx"]
  }
}

At the time of this post, the latest AWS Elasticsearch version is 7.9. Can you set up remote replication within AWS Elasticsearch? If not, are there any alternatives to have replication across regions?

ajohnson10209
  • 644
  • 1
  • 6
  • 14
  • 1
    Cross-Cluster Replication is a feature available in the Elasticsearch default distribution with a subscription for platinum features. See https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-ccr.html and https://www.elastic.co/subscriptions#scalability-&-resiliency – Russ Cam Feb 09 '21 at 05:13
  • @RussCam that is with the open source elasticsearch. Can you get the platinum version within AWS Elasticsearch? – ajohnson10209 Feb 09 '21 at 13:15
  • @ajohnson10209, did you get a change to workout your requirement? – Prasanth Rajendran Sep 02 '21 at 13:41
  • I found another way to implement replication via s3 buckets - @PrasanthRajendran – ajohnson10209 Sep 02 '21 at 20:19
  • @ajohnson10209, could you share your approach? – Prasanth Rajendran Sep 06 '21 at 19:00
  • @PrasanthRajendran I'm planning on submitting an article to medium, but in short, we have a lambda function which is triggered from an s3 event that adds a document to elasticsearch. Since we have that lambda function, I'm able to set up a replicated bucket and create another lambda function which populates another ES domain in another region – ajohnson10209 Sep 15 '21 at 16:55

0 Answers0