Heroku mLab MongoDB add-on vs MongoDB Atlas - mongodb

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.

Related

Searching in MongoDB Serverless Instances

I built an app using MongoDB and used searching functionality with indexing, and when i tried to upgrade the instance from free to Serverless Instances, its showing an error stating
Atlas Search feature is not yet supported in serverless instances.
Is there any other way to implement searching in MongoDB serverless instances.

Is there a way to host an app that uses MongoDB Atlas on Heroku without paying for an addon?

I am in the process of teaching myself deployment to Heroku, and trying to host a simple MERN stack application to Heroku. So far, every tutorial I've worked on (at least four so far) has told me to use the addon mLab, which is 1) being depricated and 2) currently requires payment.
I've also now tried to use object Rocket which also requires a monthly payment. Is it possible to connect my Heroku app to MongoDB without payment? Perhaps without an add-on? I'm looking to turn around and teach others how to deploy their applications to Heroku, but if there is payment involved, that would be a real issue.
Edit: just to clarify, I am aware that MongoDB atlas is free, but what I'm not aware of, is way to connect Atlas to my Heroku app in a way that is free.
Use the Atlas free tier. No addons are needed.
To connect to your MongoDB Atlas db is best achieved using Mongoose - a node module - at least that is what I am doing with my recently created React/Atlas application. Mongoose is available for Angular as well and makes working with Atlas very easy. A google search will provide many tutorials, I'm sure.

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

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.

Is it compulsory to install add-on in order to deploy Mongo in Heroku?

Is it compulsory to install add-on in order to deploy Mongo in Heroku like MLAB MongoDB, Compose MongoDB, Object Rocket for MongoDB in order to make the apps run? Because right now I'm having issue deploying my nodejs apps
As long as there's a way to connect to your MongoDB instance from Heroku, you don't have to install a Heroku add-on. Set an environment variable (using heroku config) that your code can use to make a connection.

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