Question

ip range for Trusted sources at databases cluster

Hi, I have a cluster of Databases and a cloud function (gcp) that post rows inside of the database every n minutes, IN LOCAL I can do all well, but in google cloud my function dit not work, the reason is the trusted sources, but I don’t know to set a range of ip for my trusted sources on the database of digitalocean

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Just to clarify, is your GCP function connecting to your DigitalOcean Managed database?

If this is the case, you could follow the steps here on how to configure your Egress settings for your GCP function:

https://cloud.google.com/functions/docs/networking/network-settings#egress_settings

That way you will have an IP rage that you would be able to add to your trusted sources list in your DigitalOcean account.

Hope that this helps!

Best,

Bobby