I just signed up Google Cloud Platform(GCP) and got $300 free usage. It’s handy for starting a new mongo instance if you don’t care about the price.

The following is the installation checklist.

  • create a cloud computing resource
  • follow the official guide for installation mongo db
  • setup iptable rules
  • set bindIp to in /etc/mongo.conf(should better use reverse proxy or somewhat)
  • allow tcp 27017 port in firewall rules