Connecting to Amazon DocumentDB

Has anyone got working with the new AWS DocumentDB?

Whenever I start rocket i end up getting a time out. I have tested connections from the instance i am testing with mongo client to the DocumentDB and it works fine. I did have to download the rds-combined-ca-bundle.pem file when testing using the mongo command. I am unsure where this file would go for the service. I have not been able to find an example using ssl_ca_cert in the mongo documentation.

Has anyone gotten this to work?

The connection string they provide looks like this:


have to add ssl=true to the string and point ssl_ca_certs in the string to the location of the ca file you downloaded. Though you’ll find once you can connect, you’ll have sorts of new problems. Alternatively you can turn off ssl in the documentDB parameter groups for your learning

Big thing here is documentdb is not MongoDB.

I don’t think it supports oplog for one. Two it doesn’t even implement all commands.

Here is a good read for you: