MongoDB with Async Python Transcripts
Chapter: Deployment
Lecture: MongoDB as a Service Options
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
One of the best ways that you can secure your MongoDB, put it on the internet in a safe way, is to not do it yourself. So I want to encourage you,
0:10
especially if you're really new to MongoDB, to maybe consider one of the database as a service options.
0:17
If you're working on AWS, Azure, or Google Cloud, then MongoDB themselves have a pretty cool system called Atlas.
0:27
Atlas, basically you give them your access to your cloud setup, and they will create the virtual machines, they will install and maintain and upgrade
0:37
and patch MongoDB, as well as run them in a replica set, and all of those things automatically for you. You still pay for those cloud machines,
0:47
but they take care of it. Another one is there's other services that are not just MongoDB, and not the big three of the cloud providers.
0:54
For example, if you're on DigitalOcean, then you can connect to their MongoDB managed server, starting at $15 a month,
1:05
and they will completely run and manage it just like I sort of described for Atlas, but maybe even in a bigger scale
1:13
because they're doing it for all of their customers, not just managing a few servers for you behind the scenes.
1:20
So either of these two options, as well as others, really good.
1:24
Really good. So you might consider this if you think this is a better fit for you, then you don't
1:29
have to worry about maintaining and patching and running servers. But if you're already running a
1:34
bunch of servers, and you do want to do it, well, that's what the rest of this chapter is about. So
1:39
if you want to go down this path, that's awesome. You could even skip the rest of this chapter. For
1:43
the most part, we do need to make a minor change to our code to talk to any external server that's It's not just local host.
1:51
But beyond that, if you want to go with one of these, you can, you're welcome to just like jump ahead.
1:58
But if you want to see how to host it yourself, and how to do that safely, then you know, keep watching this chapter, we're going to dive into that.