I am encountering the 'connect ETIMEDOUT Private IP:27017' error when attempting to connect to DocumentDB using MongoDB Compass.

0

I have deployed a DocumentDB cluster on AWS, utilizing the default VPC. The VPC Network ACL has been configured to allow 0.0.0.0 access, and the security groups are set to permit all traffic, including 0.0.0.0 access. The cluster is in the 'available' stage and is healthy. I have verified that my credentials are correct. However, I am still encountering the 'connect ETIMEDOUT Private IP:27017' error. I would appreciate assistance in resolving this issue.

  • Where are you attempting to connect from? From within the VPC or outside of the VPC?

    If you are connecting from outside the VPC, do you have a bastion in place? [1]

    [1] Outside the VPC: https://docs.aws.amazon.com/documentdb/latest/developerguide/connect-from-outside-a-vpc.html

  • Let's consider a scenario where I am within an internal Virtual Private Cloud (VPC). In this case, is it necessary to have a bastion server? Additionally, if I launch DocumentDB, can I connect directly without requiring a bastion server?

KARTHIK
已提問 5 個月前檢視次數 85 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南