11. 11
Atlas - Database as a Service
Self-service, elastic,
and automated
Secure by defaultGlobal and highly
available
Continuous
backups
Real-time monitoring and
optimization
Cloud agnostic
13. 13
Workshop
● Download & install MongoDB 4.0.0
export PATH="$PATH:/home/polux/Softwares/mongodb-linux-x86_64-enterprise-debian92-4.0.0/bin"
● Start a simple node
mkdir data
mongod --dbpath data
● Import simple dataset
https://github.com/MaBeuLux88/mongodb-json-files
mongoimport --drop -d test -c grades grades.json
● Scripts to start a ReplicaSet and a Sharded Cluster
https://github.com/MaBeuLux88/MongoDB-Training
● Free ReplicaSet in MongoDB Atlas
https://cloud.mongodb.com
● Download, install and test MongoDB Compass
● Make a simple Hello World with the driver of your choice with MongoDB Atlas or localhost node
● Make some CRUD operations and discover the driver API
● Create a small program to listen a change streams
● Check you can listen the CRUD operations with your change stream