Question

How to secure database connection to App Platform?

As I understand, the databases in cluster are accessible over the network from anywhere.

What’s the recommended way for securing an Database connection with App Platform application? How to set it up so that nobody else can try to login to my database except my application that’s in App Platform?


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.

Hello all,

We now have this feature of Trusted sources on App Platform. Refer to below link for more insights:

https://docs.digitalocean.com/products/app-platform/how-to/manage-databases/ https://docs.digitalocean.com/products/app-platform/#5-august-2021

Hope this helps!

Cheers, Sri Charan

Hey @MihkelL,

I believe that as of the time being this is not possible but it is something that the DigitalOcean team are working on.

It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented!

https://ideas.digitalocean.com/ideas/APPX-I-73

Regards, - Bobby.