# Elastic Cluster on aws

**URL:** <https://discuss.elastic.co/t/elastic-cluster-on-aws/129683>\
**Category:** Elasticsearch\
**Created:** [April 26, 2018, 1:28pm UTC](https://discuss.elastic.co/t/elastic-cluster-on-aws/129683 "2018-04-26T13:28:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![astrobounce](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/astrobounce/32/30511_2.png) [@astrobounce](https://discuss.elastic.co/u/astrobounce)\
**Post date:** [April 26, 2018, 1:28pm UTC](https://discuss.elastic.co/t/elastic-cluster-on-aws/129683/1 "2018-04-26T13:28:09Z")

</div>

Hello team ,

I had been running Elastic cluster on traditional VM's with following architecture .  
3 master Nodes  
3 Client Nodes  
5 Hot Data Nodes  
and 3 Warm Data nodes ( Implemented Hot warm architecture from elastic blog )  
( Each node has master nodes entry as unicast host lists , with 2 minimum number of masters set ,

#discovery.zen.ping.unicast.hosts: ["X.X.X.X:9300", "X.X.X.X:9300", "X.X.X.X:9300"]  
#discovery.zen.minimum\_master\_nodes: 2  
#discovery.zen.ping\_timeout: 30s

This was running perfectly fine from last 2 years .

Now we are trying to move this complete architecture to aws and want to use aws ec2 discovery plugin of elasticsearch .

We have provisioned 3 instances and changed the discovery settings to

discovery.zen.hosts\_provider: ec2 ( aws ec2 discovery plugin )  
discovery.ec2.groups: staging-elasticsearch-cluster ( security group name )  
discovery.ec2.tag.environment: staging ( tag with name environment and value staging )

This too is working fine for me .

Now scenario is I have to implement the earlier architecture ( 3 master , 3 Client , 5 Hot Nodes , 3 Warn Nodes) using ec2 discovery plugin ,

So the actual thing which I am trying to understand is how each master will be discovered using ec2 plugin . because we have now different node types deployed .

Do we have to make some extra settings to implement same .

Hoping for some real scenario replies .

Regards

---

<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:** [May 24, 2018, 1:28pm UTC](https://discuss.elastic.co/t/elastic-cluster-on-aws/129683/2 "2018-05-24T13:28:24Z")

</div>

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