Managed MongoDB® FAQ
Usage and management
How can I connect to a Database Instance in a Private Network using Public Gateways?
If you want to connect locally to a Database Instance that is not accessible via the public internet, you can use SSH Bastion and connect it to the same Private Network the Database Instance is connected to.
-
Open an SSH tunnel with port forwarding:
ssh -L local_port:instance_id.network_id.internal:27017 bastion@gatewayIP -p 61000 -N -
Connect using
mongosh:mongosh --host localhost --port local_port --username "username"
What are the MongoDB free trial conditions?
The MongoDB free trial lasts for 30 days.
During the trial period, you can create up to 3 free instances using the PLAY2-NANO node type. These can be standalone instances or 3-node replica sets. If you choose any other node type, standard pricing applies. You can have up to 50GB of storage for free on these instances. Standard pricing applies for additional storage.
To be eligible for the free trial, you must not have previously ordered a Managed MongoDB instance.
When activating the trial, your first instance must use the PLAY2-NANO node type.
You can opt out of the free trial by unchecking the Activate the 30-day free trial option during setup. Note that you will no longer be eligible for the trial approximately 30 minutes after creating your first instance.