Access to AWS Opensearch in a VPC

1

Hi, I created an AWS Opensearch domain in a VPC, but I can't figure out how to access it? When I am clicking on AWS Opensearch dashboard it's not opening and there is a timeout. I fould 2 solutions: EC2 instance with SSH tunnel or NGINX proxy on EC2 instance.

But can I access the domain in a VPC without spinning the EC2 instance at all?

  • 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 ?

2回答
2
承認された回答

Hi,

These are the 3 options available to access AWS Opensearch in a VPC

  1. Use an SSH tunnel
  2. Use an NGINX proxy
  3. Use VPN

Refer

profile pictureAWS
エキスパート
回答済み 2年前
AWS
エキスパート
レビュー済み 2年前
1

Hi,

Do you connect to the VPC with a VPN or is it open to the world. If you dont use a VPN then: Has it been launched into a public subnet with an IGW and if so is the SG open to the outside world on the required ports?

The solutions you provide suggest that the VPC is not publicly accessible or that it is going through a NAT Gateway.

More detail on your VPC setup is required thanks!

回答済み 2年前

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

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

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

関連するコンテンツ