# Build a remote cluster for APM server

**URL:** <https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039>\
**Category:** APM\
**Tags:** server\
**Created:** [May 18, 2022, 9:33am UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039 "2022-05-18T09:33:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyle52](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skyle52/32/105821_2.png) [@skyle52](https://discuss.elastic.co/u/skyle52)\
**Post date:** [May 18, 2022, 9:33am UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039/1 "2022-05-18T09:33:23Z")

</div>

Hi all,  
Currently, I have a Elasticsearch + Kibana on a server for indexing 's log. I am planning to setup new APM + Elasticsearch just for indexing APM metrics on 2nd server, and I can use Kibana on the 1st server for searching and visualizing both data.  
The topo look similar like this:  
 ![Elasticsearch&APM](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4efeb7a8e726e7bffd6e2800b8904f57b2f2d4db.png)

Can anyone share any instructions or keywords that I can follow to deploy this.  
Thank you all.

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [May 18, 2022, 9:23pm UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039/2 "2022-05-18T21:23:45Z")

</div>

Welcome to community @skyle52 . This setup is very common, we utilize this pattern heavily internally. with one tweak - instead of kibana communicating with two es clusters, use cross cluster search to have the es clusters do the communication and present a single endpoint to kibana. APM specific instructions can be found on [Cross-cluster search | APM User Guide [master] | Elastic](https://www.elastic.co/guide/en/apm/guide/master/cross-cluster-search.html).

---

<div class="post-metadata">

**Author:** ![skyle52](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skyle52/32/105821_2.png) [@skyle52](https://discuss.elastic.co/u/skyle52)\
**Post date:** [May 19, 2022, 4:15am UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039/3 "2022-05-19T04:15:02Z")

</div>

Thank you Gil. I will setup cross cluster search

---

<div class="post-metadata">

**Author:** ![skyle52](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skyle52/32/105821_2.png) [@skyle52](https://discuss.elastic.co/u/skyle52)\
**Post date:** [May 20, 2022, 10:17am UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039/4 "2022-05-20T10:17:05Z")

</div>

Hi Gil,  
Can you help me here. I cannot setup remote search cluster

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/0/40bdcaa8a21ee966335449051f56e4e796d2d13e.png)

I have already setup transport.port: 9300 on my apm cluster but not able to connect.

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [May 20, 2022, 4:14pm UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039/5 "2022-05-20T16:14:57Z")

</div>

@skyle52 sorry to hear it, the setup is straightforward on our [managed service](https://cloud.elastic.co), it seems you're self managing? I recommend opening a discuss topic in the [Elastic Stack CCS](https://discuss.elastic.co/tags/c/elastic-stack/elasticsearch/6/ccs-cross-cluster-search) topic with some more information including logs from the Elasticsearch instances. Please do link to that from here.

---

<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 10, 2022, 12:15pm UTC](https://discuss.elastic.co/t/build-a-remote-cluster-for-apm-server/305039/6 "2022-06-10T12:15:09Z")

</div>

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