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

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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 @kevinandrey-bueno-solano, just want to ask if you had any solutions for this, I’m looking for something similar.


This comment has been deleted

Bobby Iliev
Site Moderator
Site Moderator badge
February 2, 2022

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:

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!