MongoDB can be run in a local container such as with the docker-compose setup provided in the kernelci-pipeline repository. It's very convenient for developers as it just works out of the box and is self-contained. However, it means that it needs to be managed as a service directly as a sysadmin task along with the VM running it.
A more sustainable and scalable option would be to use Atlas for deploying Mongo in the Cloud. The simplest way to do this is to create an Atlas resource in Azure from the marketplace. It has fewer options than when subscribing directly to Atlas but on the other hand it means we can just keep it part of the existing subscription. It's also perfectly fine for our initial deployment as the database is going to be small for the first few months and we haven't done any profiling yet.
MongoDB can be run in a local container such as with the
docker-compose
setup provided in thekernelci-pipeline
repository. It's very convenient for developers as it just works out of the box and is self-contained. However, it means that it needs to be managed as a service directly as a sysadmin task along with the VM running it.A more sustainable and scalable option would be to use Atlas for deploying Mongo in the Cloud. The simplest way to do this is to create an Atlas resource in Azure from the marketplace. It has fewer options than when subscribing directly to Atlas but on the other hand it means we can just keep it part of the existing subscription. It's also perfectly fine for our initial deployment as the database is going to be small for the first few months and we haven't done any profiling yet.