# Installation of ElasticSearch in Google Compute Engine

**URL:** <https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525>\
**Category:** Elasticsearch\
**Created:** [October 2, 2015, 7:19am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525 "2015-10-02T07:19:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [October 2, 2015, 7:19am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525/1 "2015-10-02T07:19:46Z")

</div>

Here we created es1 and es2 as two instances in Google Compute Engine and I need install elasticsearch in es1 aswell as es2 and they both should communicate and replicate each other.Please help me by giving solution.

Thanks in advance  
Kartheek Gummaluri

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 2, 2015, 7:26am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525/2 "2015-10-02T07:26:13Z")

</div>

Have you looked at the [elasticsearch-cloud-gce](https://github.com/elastic/elasticsearch-cloud-gce) plugin?

---

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [October 2, 2015, 7:44am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525/3 "2015-10-02T07:44:10Z")

</div>

Yes but before trying to install in both es1 and es2 i want to clarify my above mentioned doubt

---

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [October 2, 2015, 7:46am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525/4 "2015-10-02T07:46:49Z")

</div>

Can you please suggest me about "Cloning your existing machine" if I installed elasticsearch in es1 and then I follow the Cloning your existing machine.It will replicate the es1 configurations es2 or not and another is to how to establish communication between es1 and es2 instances while installing in production.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 2, 2015, 8:20am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525/5 "2015-10-02T08:20:21Z")

</div>

> Can you please suggest me about "Cloning your existing machine" if I installed elasticsearch in es1 and then I follow the Cloning your existing machine.It will replicate the es1 configurations es2 or not

Not sure exactly what you mean. A machine clone is identical to the original, including all the configuration residing on the machine.

> and another is to how to establish communication between es1 and es2 instances while installing in production.

That's exactly what the plugin helps you with. In the example in the plugin's readme file all instances are connected to the es-cloud project and the ES instances will attempt to form a cluster with the machines in that project.

---

<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:** [July 5, 2017, 11:47pm UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-in-google-compute-engine/31525/6 "2017-07-05T23:47:05Z")

</div>


