# Connection to remote cluster is failing

**URL:** <https://discuss.elastic.co/t/connection-to-remote-cluster-is-failing/181027>\
**Category:** Elasticsearch\
**Tags:** ccs-cross-cluster-search\
**Created:** [May 14, 2019, 3:32pm UTC](https://discuss.elastic.co/t/connection-to-remote-cluster-is-failing/181027 "2019-05-14T15:32:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandy2428](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandy2428/32/46165_2.png) [@sandy2428](https://discuss.elastic.co/u/sandy2428)\
**Post date:** [May 14, 2019, 3:32pm UTC](https://discuss.elastic.co/t/connection-to-remote-cluster-is-failing/181027/1 "2019-05-14T15:32:21Z")

</div>

Hello

I am trying to setup ES cross cluster search but it is failing . Steps I did to follow

1. I have 2 ES clusters(running as kubernetes clusters) say ES-cluster1 and ES-cluster2 in 2 separate AWS accounts.  
2)I have one kibana pod running in as same k8s ES-cluster1 .  
3)Now I want to configure ES-cluster2(as remote cluster) for Es-cluster1(local cluster)  
4)From kibana console -\> Dev tools ,I am trying to follow the steps at [https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-remote-clusters.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-remote-clusters.html)  
and run the below command but it is showing as not connected for ES-cluster2 which is elasticsearch-ops in this case.

Any help is highly appreciated.

 ![57](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b54a275fd268e207d765f263b6efb50119639b13.png)

---

<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:** [June 11, 2019, 3:32pm UTC](https://discuss.elastic.co/t/connection-to-remote-cluster-is-failing/181027/2 "2019-06-11T15:32:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
