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 ?

posta un anno fa253 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande