0

I have to connect AWS Elasticsearch with Alexa. According to a file, I have to put

client = new ElasticSearchClient("your.elastic.url", 9300, "your.cluster.name");

What is the elastic URL and 9300 for my AWS hosted ES Cluster?

Adiii
  • 54,482
  • 7
  • 145
  • 148
  • AWS ES does not offer the possibility to connect via TCP. See [this](https://stackoverflow.com/questions/49274624/using-elasticsearch-transport-client-with-amazon-elasticsearch-service-aes/49277382#49277382). You can only connect via HTTP. – Val Aug 19 '19 at 07:25

1 Answers1

0

As mentioned in the comment, AWS ES does not offer the possibility to connect via TCP.

TCP transport

The service supports HTTP on port 80, but does not support TCP transport.

developerguide aes-supported-resources

But you can try this how-to-use-java-high-level-rest-client-with-spring-boot-to-talk-to-aws-elasticsearch.

Another thing, it totally depends upon the underlying library that is https://github.com/unterstein/elastic-alexa you can give it try with https with out port.

As per your question you can get AWS ES cluster details and endpoint here.

ES -> Dashboard -> select domain

in the Top, you see cluster name and below in endpoint.

enter image description here

Adiii
  • 54,482
  • 7
  • 145
  • 148