How to use AWS service for Mongodb and which service? - mongodb

I just wanted to know, How can I use Mongodb service on AWS. I have seen there is no explicitly service to use Mongodb like for mysql it has RDS.
Any suggestions please...

MongoLab provides a MongoDB service on AWS. Or you can install MongoDB on an EC2 instance. Did you try searching for "MongoDB on AWS" at all?

DynamoDB is Amazons answer to managed NoSQL, the closest you get to MongoDB if you don't host it yourself (on an EC2 instance for example).

Related

Deploy my mongodb instance on oracle cloud

I have my mongodb instance running on MongoAtlas,
I have to host my database to oracle cloud,
Is there a way i can host my mongoDb on Oracle cloud.
i looked into bitnami , but its only giving option to host mongodb on Aws, Google, dnot see oracle there
currently OCI does not have hosted/managed MongoDB offering but you can deploy it on the pure IaaS either via containers or VMs. You can get both of those from Bitnami and deploy them on the OCI IaaS.
What is your use case for MongoDB? If you are looking into hosted/managed DBon OCI , did you check out Autonoumous DB?

MongoDB connection with Power BI

I have this mongoDB (a SaSS in IBM Cloud) and on this cloud i also have an instance of another noSQL DB, cloudant db.
We were able to connect the cloudant DB on Power BI using only an URL such as "https://8869f932-05f0-4f48-b697-XXXXXXXXXXXX-bluemix.cloudantnosqldb.appdomain.cloud/<DATABASE_NAME>/_design/<DESIGN_DOC_NAME>/_view/<VIEW_NAME>" and "WEB" connection option on PowerBI.
My question is, and i didn't find any info or documentation related to this matter: on MongoDB, there is a way to achieve this kind of connection, using only a uri to a specific view rather than the ODBC connection?
If not, is there any other alternative to connect with this resource on IBM instead of ODBC?
Install mongosqld from : https://docs.mongodb.com/bi-connector/current/installation/
Run mongosqld
Now you can connect to the mongodb instance with read access using mysql/mariadb client or drivers.
NOTE: As mentioned this only has read access, so you can execute all the select queries.
I don't think so if PowerBI doesn't support it already. The MongoDB BI Connector isn't installed in IBM Cloud Databases for MongoDB.

AWS RDS vs local database in EC2 instance

I want to understand AWS Relational Database Service (RDS) and discover benefits from using it.
Why RDS is better than manually installed PostgreSQL database in EC2 instance?
Is it possible to connent existing database in EC2 instance with Amazon RDS?
How it really works?
How I should automation RDS?
When I want create new database in existing EC2 instance I can use Ansible in simply way. How I should connect my application with database which uses RDS ?
Thanks in advance!
I want to understand AWS Relational Database Service (RDS) and discover benefits from using it.
As already commented, read the docs and whitepapers.
Why RDS is better than manually installed PostgreSQL database in EC2 instance?
you can be sure it is well setup, you will get point in time recovery, backups and high availability. As well you can set it up yourself, however using RDS you have it all already configured.
Ifs it possible to connent existing database in EC2 instance with Amazon RDS? How it really works?
you don't have access to any underlying configuration, so nope, you cannot really connect ec2 database w/ rds (e. g. wal for wal streaming).
you still can use database migration tools to migrate all databases and updates to or from rds
How I should automation RDS? When I want create new database in existing EC2 instance I can use Ansible in simply way.
you can use a cloudformation template or cli commands
How I should connect my application with database which uses RDS ?
when you create a rds instance, you will define an admin user and receive a connection url
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Scenarios.html#USER_VPC.Scenario1

Connecting MongoDB instance (on Compose) directly to MongoDB on Bluemix

I am looking for a Tool or Tool Set that can connect a MongoDB instance (on Compose) directly to MongoDB on Bluemix to extract / and move data from a MongoDB database on compose.com to a MongoDB database on Bluemix Public.
Is there a way to do this i.e. are there any known best practices to solve the problem?
I'd take a look at using mongodump and mongorestore: https://help.compose.com/docs/mongodb-tools#using-mongodump-and-mongorestore
I know you mention "directly" (as in no middle man) but I don't think that's currently possible (e.g. copydb is not an option in these managed instances).

Config 2 EC2 that have mongoDb to work together

I create 2 micro ec2 with mongoDB install on each one of them,
The same zone and i want to configure that one will be mater and the rest is slave,
How to configure mongodb.conf ?
Thanks .
Check out the documentation:
Amazon EC2 Quickstart
Amazon EC2 with MongoDB