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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인