How to secure MongoDB on Linux or Unix production server

MongoDB Ransomware attacks over 28000 databases server in last two days. MongoDB ransom attacks are in Wild. I am using it for storing data on my public facing cloud server powered by Ubuntu Linux. How do I protect and secure my MongoDB nosql server on Linux or Unix operating system?