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


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.

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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel