I create a AWS DocumentDb, and I want to explore it (find or even add items).
But the only way I found how to do it, is to open the VPC to the internet (using AWS Internet gateway) and use Compass or other Mongo client.
Is there is a way that AWS can do it using any other native client within the VPC?
I can't use Internet gateway expose this DB to the internet. (IT Constraints)
Thanks!
Asked
Active
Viewed 25 times
0

Hagay r
- 15
- 5
-
can't you simple launch an EC2 instance in the same VPC, connect to it via session manager / fleet manager (so leaving them in a private subnet) and explore the DB from there? – Filippo Testini Aug 10 '23 at 12:25
-
I can do it, but a want any GUI client (find queries etc.), and if I understand your suggestions, its all cli, ssh style. Am I right? – Hagay r Aug 10 '23 at 12:31
-
if you launch a Windows instance you can access it via Fleet Manager, which is a Remote Desktop (so, a GUI) in-browser, and it doesn't need any public exposure of the machine. Let me know if it fits your scenario, and I'll post an answer with the details. – Filippo Testini Aug 10 '23 at 15:42
-
WOW my friend! It Works! (Even without public VPC), Need to open RDP in security group, and it works!! Thank you so much!! – Hagay r Aug 13 '23 at 10:45
-
Need also to configure the Fleet - https://docs.aws.amazon.com/systems-manager/latest/userguide/setup-instance-permissions.html – Hagay r Aug 13 '23 at 12:42
-
good to know! :) I've posted a more detailed answer below, can you upvote and accept it? :) – Filippo Testini Aug 13 '23 at 18:21
1 Answers
1
In this scenario, you can:
- Launch a Windows EC2 instance in the same VPC
- Place it in a private subnet
- Configure SSM and relative permissions on it
- Connect it via Fleet Manager
- Install any GUI you need on it

Filippo Testini
- 1,363
- 1
- 16