# Best practice for elastic server and elastic agent

**URL:** https://discuss.elastic.co/t/best-practice-for-elastic-server-and-elastic-agent/300148
**Category:** Elasticsearch
**Created:** [March 21, 2022, 3:58am UTC](https://discuss.elastic.co/t/best-practice-for-elastic-server-and-elastic-agent/300148 "2022-03-21T03:58:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sevenout](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@sevenout](https://discuss.elastic.co/u/sevenout)
#### Post date: [March 21, 2022, 3:58am UTC](https://discuss.elastic.co/t/best-practice-for-elastic-server-and-elastic-agent/300148/1 "2022-03-21T03:58:24Z")

</div>

Hi guys, i just wanna ask about the best practice for elastic server and elastic agent. These are my conditions right now:

- I've installed Elasticsearch and kibana dashboard on a local server (only for Elasticsearch)
- I've installed Elasticsearch agents (metricbeat, filebeat, etc) on some application servers on local servers
- I still have some application servers remaining on clouds (alicloud and google cloud platform). I need to install Elasticsearch agents (metricbeat, filebeat, etc) on these servers too

So my questions are:

1. Will it be connection issues/another problems if i install elastic agents on cloud application servers and connect it to a local Elasticsearch server? (considering i've opened port and tcp connection )
2. If it won't be problems on question #1, should i make another Elasticsearch server on cloud for cloud application servers only, to separate between local and cloud application servers? (for best practice) and what's the reasons?

Thank You

---

<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: [April 18, 2022, 3:58am UTC](https://discuss.elastic.co/t/best-practice-for-elastic-server-and-elastic-agent/300148/2 "2022-04-18T03:58:39Z")

</div>

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