We created a VPC Elasticsearch domain.
We would like to be able to access the logs (kibana) from the Internet. I found this question: AWS Elasticsearch VPC connectivity
The answer suggests an nginx proxy facing the Internet and sitting on the VPC subnet. I got that working. But the response from the ES backend is that the user does not have the rights.
{"Message":"User: anonymous is not authorized to perform: es:ESHttpGet"}
Looks like I have to create the right policy. But I am stuck there.
I have created a role. But how to assign the role to the user, or even to the proxy so it is able to access the ES VPC endpoint?