How to integrate Mongodb Atlas with cloud integration platform such as mulesoft? - mongodb

So recently I started studying MongoDB Atlas. So just wanted to know how I can integrate that cloud database to any cloud integration tool such as MULESOFT. Do I have to create an API from MongoDB Stitch and then integrate it or am I missing something?
Help would be much appreciated.

Specifically for Mule Runtime (MuleSoft is the company name, not a product) you can use the MongoDB connector to connect an application to a MongoDB database. For Atlas compatibility I have seen it is recommended to set the authenticationDB configuration.

Related

Integrating Elasticsearch with MongoDb and Springboot

I have a Springboot application with mongodb as database. I need some reference or guidance to integrate elasticsearch for search purposes. I have seen some resources saying I need to replicate mongodb for that but some don't have that.
Any reference to this would be highly appreciated. Thanks!

Firestore and Mysql on Spring Boot. Is it possible?

I have a problem with Spring Boot application. I want to connect a Firestore and a MySql database in my Spring boot application. I would to know if it is possible. So I'm wondering if someone have an easy example to know this magic. Thanks.
Connection itself shouldn't be any problem. Firestore has well developed API for all popular languages, very simple and convenient to use, please check reference bellow.
You have mentioned MySQL, not sure if you are aware that GCP has also serverless Cloud SQL that can run MySQL for you (documentation).
You can find it here references and quick-starts here:
Google Cloud Firestore: quickstart, How-to and API reference.
Here I found example app tutorial: youtube.
Other interesting stuff: Spring Boot on GCP, Deploying on cloud from docs.spring.io.
You can also deploy your Spring Boot app on App Engine which can give you serverless solution for whole your stack - whole on GCP.

How to deploy the postgresql server in Google cloud

I am trying to deploy my postgresql server to google cloud, like how we deploy in heroku. But i am not finding any tutorial or proper docs to start.
Can any one please help me in this, Thanks!
You can easily migrate a postgres database to Google Cloud SQL.
Basically it involves, creating an SQL instance, a replication using a Compute engine VM. Then seeding, and migrating your data.
The official documentation for this from google is here;
Migrate an on-premises PostgreSQL cluster to Google Cloud
This is a very good post giving a detailed step by step guide for the entire process.
How to migrate PostgreSQL databases to Google Cloud SQL

Heroku mLab MongoDB add-on vs MongoDB Atlas

I am using MongoDB Atlas with my Heroku app.
I have seen that there is an mLab MongoDB add-on on Heroku, as mLab is part MongoDB Atlas now, was is the advantage of using this add-on ?
Moreover, the add-on looks like a more expensive solution than MongoDB Atlas...
You should use the new MongoDB Atlas Heroku app. mLab heroku app will be deprecated when the migration done, see the doc from migrating from mLab to Atlas
MongoDB plans to build an integration between MongoDB Atlas and Heroku. You will be able to continue to use mLab via its add-on at Heroku until the new integration is available.
Now this add on feature is no more useful as mlab has already been acquired by MongoDB.
Earlier the purpose of this feature was that the mLab Add-on used to be co-located with your application in case you have selected this option and could help in reducing the latency of your application as mlab was available primarily in US regions.
But now mlab has been acquired by MongoDB and you can deploy Atlas cluster in the same region of your application to reduce the latency.
I hope this answer your question.

selecting best way for deploying MongoDB on Cloud Platform?

I am using google cloud platform for my project and planning to use mongodb cloud service.
I am confused in selecting the MongoDB on Cloud Platform.
I had read this link which tells 3 ways through which we can deploy mongodb.
Please help me out for selecting best option.
Recommendation
I have used all three options for deploying MongoDB on the Cloud Platform and believe the Cloud Launcher for MongoDB is by far your best choice.
Justification
I would like to address each of the three deployment options and explain my reasoning.
Cloud Launcher for MongoDB
The Cloud Launcher for MongoDB is what I would recommend. It's much simpler than creating a MongoDB database in any other way, since there are presets and you click through a nice UI. This was the way I created my first MongoDB database and felt pretty confident throughout the setup process.
MongoDB Cloud Manager
The MongoDB Cloud Manager is a more advanced version of the Cloud Launcher for MongoDB. It supports "more complex deployments... ...such as complex replica sets or sharded clusters." You will be able to work your way towards these complex deployments with the Cloud Launcher for MongoDB, without being overwhelmed immediately.
Google Cloud Deployment Manager
The Google Cloud Deployment Manager "lets you automate the setup of [the] MongoDB Cloud Manager." The MongoDB Cloud Manager is already more complicated than the Cloud Launcher for MongoDB, so there is no reason for you to automate deployments at this point.
Documentation Quoted in this Answer