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回答
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
エキスパート
回答済み 1年前
  • 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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ