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
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!
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.
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.
The information you are looking for can be seen here :
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.
Sign up now
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!