Connecting to DocumentDB from outside the VPC does not work with AWS Linux 2023 tunnel

0

I have in the past successfully set up a connection to DocumentDB using Studio 3T. I have basically followed these instructions:

https://docs.aws.amazon.com/documentdb/latest/developerguide/studio3t.html

Previously I have used AWS Linux 2 as my EC2 tunnel to access the database. However recently I tried with AWS Linux 2023 and Studio 3T fails to connect. It gives the error message

SSH Tunnel error: SSH tunnel could not be created to ANY server.

As soon as I use a Linux 2 EC2 machine (with all the other settings the same) it works fine.

What do I need to do to the AWS Linux 2023 machine to make it work?

zeiddev
질문됨 3달 전361회 조회
1개 답변
0

Hello.

Is SSH allowed in security groups in EC2?
Is the key pair set for EC2 correct?
Also, do you allow access from EC2 in the DocumentDB security group?

profile picture
전문가
답변함 3달 전
  • Just to be clear, all settings, security etc are the same in the two setups. The only difference is AWS Linux 2 vs AWS Linux 2023 which are both used out of the box without any adjustment.

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

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

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

관련 콘텐츠