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ビュー
回答なし

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

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

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

関連するコンテンツ