# Can't connect to aws elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 19, 2019, 7:36am UTC](https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296 "2019-10-19T07:36:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ardy\_Febriansyah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ardy_febriansyah/32/56191_2.png) [@Ardy\_Febriansyah](https://discuss.elastic.co/u/Ardy_Febriansyah)\
**Post date:** [October 19, 2019, 7:36am UTC](https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296/1 "2019-10-19T07:36:16Z")

</div>

I tried to install self managed app search with my existing aws elasticsearch cluster. but i got problem on installation process.

```auto
> $ docker run -ti \
> -e elasticsearch.host=https://search-xxx.xxxx.ap-southeast-1.es.amazonaws.com \
> -e secret_session_key=wkwk \
> docker.elastic.co/app-search/app-search:7.3.0

```

i got error message

```auto
{"message":"Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=Basic ZWxhc3RpYzpjaGFuZ2VtZQ=="}

```

i think this issue same as [Prevent inclusion of Authorization header](https://discuss.elastic.co/t/prevent-inclusion-of-authorization-header/164917). App search send authorization header to aws while if authorization header present, aws need another header to process request. How to prevent app search include authorization header ?

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [October 21, 2019, 8:37am UTC](https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296/2 "2019-10-21T08:37:22Z")

</div>

👋

AWS managed Elasticsearch is not supported. Self-Managed App Search requires Elasticsearch with a free, basic license which you can download on [https://elastic.co/downloads/elasticsearch](https://elastic.co/downloads/elasticsearch).

---

<div class="post-metadata">

**Author:** ![Ardy\_Febriansyah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ardy_febriansyah/32/56191_2.png) [@Ardy\_Febriansyah](https://discuss.elastic.co/u/Ardy_Febriansyah)\
**Post date:** [October 21, 2019, 12:22pm UTC](https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296/3 "2019-10-21T12:22:10Z")

</div>

I think this is not license issue, but its ok, so i cant use aws cluster to connect app search.

Does Elastic Cloud service include basic license ? I will move my current cluster from aws to elastic cloud

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [October 21, 2019, 2:54pm UTC](https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296/4 "2019-10-21T14:54:40Z")

</div>

Yes, Elastic Cloud includes a basic license (and beyond, if needed).

---

<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:** [November 18, 2019, 2:57pm UTC](https://discuss.elastic.co/t/cant-connect-to-aws-elasticsearch-cluster/204296/5 "2019-11-18T14:57:33Z")

</div>

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