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.

Sri Charan Madhavapeddi
DigitalOcean Employee
DigitalOcean Employee badge
August 11, 2021
Accepted Answer

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

Bobby Iliev
Site Moderator
Site Moderator badge
March 11, 2021

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.

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