aws-documentdb-mongoapi

Password rotation on AWS DocumentDB

筅森魡賤 提交于 2021-02-11 13:54:25
问题 We have a on-premise service that we want to move to AWS. I'm investigating the possibility of moving it, and I'm unsure about password rotation and storage. I know that Secrets Manager can be used with RDS quite well, but I'm unsure how suitable it is for DocumentDB When setting up a new DocumentDB cluster (using CF templates), it requires a master username and password. What would be the best approach to generating the password for this CF template? Could it be done using a secretsmanager

Unable to connect to AWS Documentdb using MongoDB Compass. No option to pass sslInvalidHostName

蹲街弑〆低调 提交于 2021-02-06 08:58:11
问题 AWS DocumentDB is a relatively new service we're trying to migrate to. To connect from outside of the VPC, you have to create a tunnel to an existing instance. For example: ssh -i "ec2Access.pem" -L 27017:sample-cluster.cluster-cu52jq5kfddg.us-east-1.docdb.amazonaws.com:27017 ubuntu@ec2-34-229-221-164.compute-1.amazonaws.com -N And then you can connect from mongo shell with: mongo --sslAllowInvalidHostnames --ssl --sslCAFile rds-combined-ca-bundle.pem --username <yourUsername> --password

Solr Mongo/DocDB Delta Import Query is not working

怎甘沉沦 提交于 2020-04-07 08:22:53
问题 I am trying to import data from Document DB to solr-5.4.1. Full import is executing properly but delta import is not working. When I execute delta import nothing happens Here is the current delta configuration deltaQuery="{'lastUpdatedDate':{$exists:true},'lastUpdatedDate':{$gt: Date('${dih.last_index_time}')}}" deltaImportQuery="{'_id':'${dih.delta._id}'}"> whole db-data-config.xml <dataConfig> <propertyWriter dateFormat="yyyy-MM-dd'T'HH:mm:ss.SSSXXX" type="SimplePropertiesWriter" filename=

What is the differencce between MongoDB Atlas and MongoDB Atlas for AWS

流过昼夜 提交于 2020-02-25 05:21:09
问题 During my investigation on compatible DBs for IoT data storing I looked into MongoDB and pricing is a little bit confusing. Just wondering what is the difference between MongoDB Atlas and MongoDB Atlas for AWS as they both work on AWS? And what is the right way to run MongoDB Atlas on AWS? 回答1: As far as I can see, they both should mostly be similar : MongoDB Atlas : You can directly go to MongoDB-Atlas portal & create a MongoDB cluster(a cluster will usually be 3-shard/node replica set on

What is the differencce between MongoDB Atlas and MongoDB Atlas for AWS

六月ゝ 毕业季﹏ 提交于 2020-02-25 05:19:30
问题 During my investigation on compatible DBs for IoT data storing I looked into MongoDB and pricing is a little bit confusing. Just wondering what is the difference between MongoDB Atlas and MongoDB Atlas for AWS as they both work on AWS? And what is the right way to run MongoDB Atlas on AWS? 回答1: As far as I can see, they both should mostly be similar : MongoDB Atlas : You can directly go to MongoDB-Atlas portal & create a MongoDB cluster(a cluster will usually be 3-shard/node replica set on

Cannot Connect to AWS Database using TLS with Server CA Validation

跟風遠走 提交于 2019-12-09 03:36:28
问题 AWS documentation states that to connect to my DocumentDB Cluster, I need to use a query string that ends like so ?ssl_ca_certs=rds-combined-ca-bundle.pem&replicaSet=rs0 . It is a root certificate chain that my Client should validate. I should not need a Client Certificate. Using the MongoDB C# driver and this specific query, with the .pem file in the same directory, I cannot establish the connection. If I use the same .pem file and query string from the Mongo Shell, I can correctly connect

AWS DocumentDB with Robo 3T (Robomongo)

匆匆过客 提交于 2019-12-07 04:24:46
问题 I want to connect Robo 3T (formerly robomongo) from my Mac laptop with AWS's DocumentDB. I followed numerous tutorials however could not find any specific to DocumentDB. During the testing phase it passes step #1 "connected to my EC2 instance", however fails on step #2 with the message "failed to connect to ...docdb.amazonaws.com:27017 via SSH tunnel". Has anyone been able to get this to work? 回答1: here is my config in five scree-shots. 回答2: Steps to connect from Robo 3T 1. Host : localhost

AWS DocumentDB with Robo 3T (Robomongo)

橙三吉。 提交于 2019-12-05 11:30:00
I want to connect Robo 3T (formerly robomongo) from my Mac laptop with AWS's DocumentDB. I followed numerous tutorials however could not find any specific to DocumentDB. During the testing phase it passes step #1 "connected to my EC2 instance", however fails on step #2 with the message "failed to connect to ...docdb.amazonaws.com:27017 via SSH tunnel". Has anyone been able to get this to work? Steps to connect from Robo 3T 1. Host : localhost and 28017: source port that we mentioned in ssh tunnel 2. Authentication tab - Database : DBname; Username and password of the documentDb 3. In SSL tab,