0

In a single Google Cloud Project, I have a MongoDB instance, and a cloud function that interacts with it.

For obvious reasons, I would like to avoid exposint the MongoDB server to the outer internet.

If the cloud function was on a VM, I would just create a firewall rule to open the MongoDB port to this VM IP address only.

How can I do that for a Cloud Function?

znat
  • 12,164
  • 14
  • 60
  • 93

0 Answers0