Step 1: Create an AWS Cloud9 environment. … Step 2: Create a security group. … Step 3: Create an Amazon DocumentDB cluster. … Step 4: Install the mongo shell. … Step 5: Connect to your Amazon DocumentDB cluster. … Step 6: Insert and query data. … Step 7: Explore.
Can't connect to DocumentDB?
If you can’t connect to your Amazon DocumentDB cluster, the likely cause is that your security group (that is, firewall) for your cluster doesn’t allow inbound connections on the port you chose for your Amazon DocumentDB cluster (default port is 27017).
Is DocumentDB fully compatible with MongoDB?
Amazon DocumentDBMongoDB AtlasFully compatible with MongoDBNo, incomplete Imitation API fails 66% of correctness testsYesSupport for latest MongoDB versionNo Feature set resembles MongoDB 3.0/3.2, released in 2015.Yes MongoDB 5.0