Hi again @Lucas_Calje
Let’s look at this command first:
atlas deployments setup --bindIpAll --username root --password root --type local --force
If you look closely, you will see --type local
part. This is the reason this command creates a local deployment.
It is for development on your machine so that you can play around as much as you want to get experience. You can still use it for production purposes, though, if you have a limited resource and/or small project.
Now, let take a step back and look at the CLI as you seem to have missed its intent. Forgive me if I mistaken, but despite my inital guess I think you have jumped in directly to that page while searching something else.
You can login Atlas web interface and do your all administration through that web interface.
But this can be daunting at times, especially when you want some automated access.
The CLI comes in to do that. If you are comfortable using terminal, or live with the terminal, you don’t need to leave it while doing MongoDB Atlas Cloud management.
The CLI itself is a big topic. If you missed the beginning, please visit this link (it is the parent item on the left side chapter list)
And for the “local” name, this actually has another meaning: any cloud provider that you use outside MongoDB and have access to terminal utilities of them.
MongoDB Atlas already uses cloud providers to host your data. You will remember selecting a location for your data. But these deployments are controlled by the MongoDB through Atlas interface.
Instead, you may already have your own subscription to one of them, and want to try/use MongoDB there. You would just login to their terminal interface and follow procedures to create your own deployment there. This is just like installing on your own computer, and hence the “–type local” parameter. Your subscription fees will be to the provider you are using.
If you use “–type atlas” instead, you will be managing deployments on servers that MongoDB Atlas manages. Your subscription will be to MongoDB Atlas, and you may also manage them through Atlas web interface.
I hope this clears your mind. Let us know if things still lingers on your mind.
Cheers.