# Discovery-ec2 endpoint setting?

**URL:** <https://discuss.elastic.co/t/discovery-ec2-endpoint-setting/139577>\
**Category:** Elasticsearch\
**Created:** [July 11, 2018, 1:27pm UTC](https://discuss.elastic.co/t/discovery-ec2-endpoint-setting/139577 "2018-07-11T13:27:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [July 11, 2018, 1:27pm UTC](https://discuss.elastic.co/t/discovery-ec2-endpoint-setting/139577/1 "2018-07-11T13:27:45Z")

</div>

Hi - could someone please provide an example on how to use the "endpoint" setting in discovery-ec2?

was following this : [https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/\_settings.html](https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/_settings.html)

and trying to set us-west-2 like this but am getting an ssl connection error. My intent is to forecefully set the region to us-west-2 in the elasticsearch.yml

`dicovery.ec2.endpoint: ec2.us-west-2.amazonaws.com`

---

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [July 11, 2018, 2:51pm UTC](https://discuss.elastic.co/t/discovery-ec2-endpoint-setting/139577/2 "2018-07-11T14:51:19Z")

</div>

Ignore this. Was an ascii character that was mucking things up.

---

<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:** [August 8, 2018, 2:51pm UTC](https://discuss.elastic.co/t/discovery-ec2-endpoint-setting/139577/3 "2018-08-08T14:51:25Z")

</div>

Closed on August 8, 2018, 2:51pm UTC

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