AWS Elasticsearch in VPC - how do we upload data or send a POST request from outside of VPC.

0

Kibana dashboard is accessible via nginx proxy. How do we push data from an app directly to the ES ? I couldn't sign the http request with AWS credentials nor with EC2 instance profile of the nginx server. Still times out as it is in a VPC. Second - Do we need to do VPC peering with the EKS cluster, if the app runs in EKS kubernetes cluster in order to push data to ES, which is in it's own VPC ?

1 réponse
0

If your cluster is accessible from outside the VPC using a NGINX proxy, why not configure the proxy to allow POST requests as well?

If your app is in another VPC then VPC peering may be the answer.

profile pictureAWS
EXPERT
répondu il y a un an
  • Yes, we did VPC peering. nginx proxy for ES cluster and kibana dashboard works but it takes to the root and I couldn't upload any data until VPC peering was done. Not sure if I was missing something.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions