DEV Community

loading...

MongoDB Atlas Security (and IP Address range?)

patarapolw profile image Pacharapol Withayasakpunt ・1 min read

What is the best way to ensure MongoDB Atlas security and access control? (for Node.js / Golang)

There are too many choices.

API key

Alt Text

Database users

  • Password
  • Certificate
  • AWS IAM

Alt Text

About IP Addresses

What should be the IP address range? How often do YOU had to assign new IP address permission?

I believe it is not only about Mongo, but anything 12-factor'd.

How does it apply to Heroku?

And, WHY IP address, not MAC address, for development machines?

Discussion (0)

pic
Editor guide