I am going to be using Mongo Atlas as my DB of choice for production, i feel it will be the best and grow fastest over time.
I can only connect to Atlas when I have whitelist the IP address of the backend server however.
Meteor only gives CNAME for DNS information, any IP range given that i can use to assist me with this?
Can’t see it in the docs anywhere and very surprise others haven’t asked.
TL;DR - you can poll Amazon to get the IP address (details in thread); might not be that helpful though if you can’t automatically/programmatically update your whitelist IP with Mongo Atlas …
i asked Galaxy support about connecting to Atlas, and they said:
In terms of whitelisting, Galaxy doesn’t provide static fixed IP addresses for application containers. Our recommendation would be to set 0.0.0.0 for the whitelist, since the IP addresses may be changing, while emphasizing a strong password and SSL configuration on your MongoDB connection, for security purposes.
How did you manage to set the MONGO_URL to connect to Atlas?
Does Meteor support this format?
mongodb://[username:password@]host1[:port1][,host2[:port2],…[,hostN[:portN]]][/[database][?options]]
My app only connects to my local Db when I set this as the URL.
Add these IP addresses to your whitelist:
For the us-east-1 cluster: 34.197.187.203, 34.197.229.75, 34.197.156.92, 34.197.222.74
For the eu-west-1 cluster: 34.248.186.245, 34.248.14.239, 34.248.124.59
If your software wants you to specify your whitelist as a list of CIDRs rather than a list of IP addresses, just add the three characters /32 to the end of each IP address.
Doesn’t this only work if you have Galaxy Pro though which costs more? I don’t need the performance monitoring that comes with pro, but I do need ip whitelisting.
Can I still use these IP’s even if I am using galaxy essential and not pro?
This is the scariest part of using galaxy… that you run into some service/situation that needs an IP and can’t do a domain name… then you have to move elsewhere or shell out a pretty substantial jump in price for just the ability to point to an IP