# Getting master\_not\_discovered\_exception from node

**URL:** <https://discuss.elastic.co/t/getting-master-not-discovered-exception-from-node/269840>\
**Category:** Elasticsearch\
**Created:** [April 12, 2021, 7:10am UTC](https://discuss.elastic.co/t/getting-master-not-discovered-exception-from-node/269840 "2021-04-12T07:10:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 12, 2021, 8:30am UTC](https://discuss.elastic.co/t/getting-master-not-discovered-exception-from-node/269840/2 "2021-04-12T08:30:01Z")

</div>

Welcome!

> [@arielman2304](#):
>
> I created 3 EC2 clusters in AWS, and I'm trying to set 2 of them as nodes.

What do you mean? "Data nodes"?  
That's the default behavior of Elasticsearch so you basically do not need to do anything.

> [@arielman2304](#):
>
> I followed this guideline:

Well. I'd recommend following instead the official documentation. And start from:[Set up Elasticsearch | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html)

Also the easiest way to have a cluster up and running is by clicking on [cloud.elastic.co](http://cloud.elastic.co) and start a cluster in few minutes.

> [@arielman2304](#):
>
> However, nothing helps and I'm still getting this exception from the nodes.

Better to share the full logs so we might tell. Also the `elasticsearch.yml` files.

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.  
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.

> [@arielman2304](#):
>
> all ES are up and return response to curl, and also telnet to each other. what else can it be?

A wild guess is: [Important Elasticsearch configuration | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#discovery-settings)

---

_[View the full topic](https://discuss.elastic.co/t/getting-master-not-discovered-exception-from-node/269840)._
