Question

How can we disable the trusted resources of the database cluster which is enabled

I’ve enabled the trusted resources on the database cluster but my ip keeps changing so now I want to open up for all the connections


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.

alexdo
Site Moderator
Site Moderator badge
March 7, 2023

Hello @730b1e76f1254ba4aed470d141e3fa

If your dynamic IP address will always be from the same IP range you can try whitelisting the range itself and this should sort the issues with the constant change of the IP address.

Regards

KFSys
Site Moderator
Site Moderator badge
March 3, 2023

Hey @730b1e76f1254ba4aed470d141e3fa,

The information you are looking for can be seen here :

https://docs.digitalocean.com/products/app-platform/how-to/manage-databases/#disable-trusted-sources

Basically, you need to Go to https://cloud.digitalocean.com/apps, click on your app, and click on the Settings tab.

Click on your database to view its details. The trusted sources information for your database is provided in the Trusted Sources section. To disable the setting, click Edit, uncheck the Add app as a trusted source checkbox, and click Save.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Bobby Iliev
Site Moderator
Site Moderator badge
March 2, 2023

Hi there,

To disable the Trusted sources for a specific database cluster, you will just have to delete all of the existing rules that you have.

Once there are no rules in place, the trusted sources will be disabled and anyone will be able to access the database.

Hope that this helps!

Best,

Bobby