# Cross Cluster Replication on ECK - cross region replication

**URL:** https://discuss.elastic.co/t/cross-cluster-replication-on-eck-cross-region-replication/205311
**Category:** Elastic Cloud on Kubernetes (ECK)
**Tags:** ccr-cross-cluster-replication
**Created:** [October 25, 2019, 6:37pm UTC](https://discuss.elastic.co/t/cross-cluster-replication-on-eck-cross-region-replication/205311 "2019-10-25T18:37:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![frankdirosaiv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frankdirosaiv/32/56647_2.png) [@frankdirosaiv](https://discuss.elastic.co/u/frankdirosaiv)
#### Post date: [October 25, 2019, 6:37pm UTC](https://discuss.elastic.co/t/cross-cluster-replication-on-eck-cross-region-replication/205311/1 "2019-10-25T18:37:11Z")

</div>

Hey,

Big fan of the ECK v1 beta! but I could use some help on how to do cross-cluster replication with two AKS clusters in different regions.

- I've set up a LoadBalancer IP for my clusters on 9200 and 9300.
- I've also set up the CA certs so that the clusters will except communication with one another ([Cross Cluster Search on ECK - how to set ca cert](https://discuss.elastic.co/t/cross-cluster-search-on-eck-how-to-set-ca-cert/202113/6))

1. When using the leader's IP address as cluster.remote.leader.proxy and cluster.remote.leader.seeds on the follower cluster, I am unable to connect to the remote cluster. This will fail with the following message - "unexpected remote node {-es-default-1}". So I scaled down my leader to 1 node and my follower was able to connect! Is 1 node a limitation of CCR? Any chance someone could shed some light on this?

2. Unfortunately, even though my follower is now connected to my leader, replication still does not work. When I try to create a follower index, my follower errors out saying something along the lines of "No route to host: /:9300".

If someone has successfully done CCR with a remote k8s cluster, I would love a sample.

This is what I have so far on the follower:

```auto
    apiVersion: elasticsearch.k8s.elastic.co/v1beta1
    kind: Elasticsearch
    metadata:
      name: search-follower
    spec:
      version: 7.4.0
      http:
        service:
          spec:
            type: LoadBalancer
        tls:
          selfSignedCertificate:
            disabled: true
      nodeSets:
      - name: default
        count: 2
        config:
          node.master: true
          node.data: true
          node.ingest: true
          node.store.allow_mmap: false
          node.attr.server_name: ${POD_NAME}.node.search-follower.default.es.cluster.local
          cluster.remote.search-leader.proxy: "<leader LB ip>:9300"
          cluster.remote.search-leader.seeds: "<leader LB ip>:9300"
          xpack.security.transport.ssl.certificate_authorities:
          - /usr/share/elasticsearch/config/other/ca.crt
        podTemplate:
          spec:
            containers:
            - name: elasticsearch
              volumeMounts:
              - name: search-leader-certs
                mountPath: /usr/share/elasticsearch/config/other
            volumes:
            - name: search-leader-certs
              secret:
                secretName: search-leader-es-transport-certs-public
        volumeClaimTemplates:
        - metadata:
            name: elasticsearch-data
          spec:
            accessModes:
            - ReadWriteOnce
            resources:
              requests:
                storage: 5Gi
            storageClassName: default

```

---

<div class="post-metadata">

### Author: ![Matthew\_Adams](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew_adams/32/65554_2.png) [@Matthew\_Adams](https://discuss.elastic.co/u/Matthew_Adams)
#### Post date: [April 2, 2020, 9:52am UTC](https://discuss.elastic.co/t/cross-cluster-replication-on-eck-cross-region-replication/205311/2 "2020-04-02T09:52:51Z")

</div>

Hi, check out the remote cluster configuration from ECK 1.1.0 it may help [https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-remote-clusters.html](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-remote-clusters.html)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 4, 2022, 7:31am UTC](https://discuss.elastic.co/t/cross-cluster-replication-on-eck-cross-region-replication/205311/3 "2022-11-04T07:31:00Z")

</div>


