Thank you, David. I still could not get the ec2-plugin to work.
On the node, I could run command aws ec2 describe-instances --region au-west-1 and can see the output (as user: root and ec2-user, with proxy setup and also no_proxy set to 169.254.169.254). Node is attached to instance profile.
However, elasticsearch logs show issues with ec2-plugin not able to perform discovery with following logs. Elastic, plugins, x-pack, kibana are .rpm packages.
[o.e.x.m.j.p.l.CppLogMessageHandler] [controller/29480] [Main.cc@128] controller (64 bit): Version 6.2.2 (Build 61c43548e5e0f2) Copyright (c) 2018 Elasticsearch BV
[o.e.d.DiscoveryModule ] [10.10.10.10.my.domain] using discovery type [zen]
[o.e.n.Node ] [10.10.10.10.my.domain] initialized
[o.e.n.Node ] [10.10.10.10.my.domain] starting ...
[o.e.t.TransportService ] [10.10.10.10.my.domain] publish_address {10.10.10.10:9300}, bound_addresses {127.0.0.1:9300}, {10.10.10.10:9300}
[o.e.b.BootstrapChecks ] [10.10.10.10.my.domain] bound or publishing to a non-loopback address, enforcing bootstrap checks
**[o.e.d.e.AwsEc2UnicastHostsProvider] [10.10.10.10.my.domain] Exception while retrieving instance list from AWS API: You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: 580a6081-fc13-4c88-8d89-12b76112c8ff)**
[o.e.c.s.MasterService ] [10.10.10.10.my.domain] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {10.10.10.10.my.domain}{g66SeW8xQ1uUE7yz5GT6zQ}{WZk1XIi8QJWLKmJ2S7kbIQ}{10.10.10.10}{10.10.10.10:9300}{ml.machine_memory=7672758272, ml.max_open_jobs=20, ml.enabled=true}
[o.e.c.s.ClusterApplierService] [10.10.10.10.my.domain] new_master {10.10.10.10.my.domain}{g66SeW8xQ1uUE7yz5GT6zQ}{WZk1XIi8QJWLKmJ2S7kbIQ}{10.10.10.10}{10.10.10.10:9300}{ml.machine_memory=7672758272, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {10.10.10.10.my.domain}{g66SeW8xQ1uUE7yz5GT6zQ}{WZk1XIi8QJWLKmJ2S7kbIQ}{10.10.10.10}{10.10.10.10:9300}{ml.machine_memory=7672758272, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
[o.e.h.n.Netty4HttpServerTransport] [10.10.10.10.my.domain] publish_address {10.10.10.10:9200}, bound_addresses{127.0.0.1:9200}, {10.10.10.10:9200
/etc/elasticsearch/elasticsearch.yml is as follows
Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.
Or use markdown style like:
```
CODE
```
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.
Please update your post.
Could you also share how you create the repository? The exact command.
I think I know what is happening but I need that information first.
Btw, how do I know which properties are optional. The documentation says endpoint is automatically derived from metadata, and the reason I skipped to add it in config.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.