Question

App platform as trusted sourced to connect to managed database doesn't work

I can select “app platform” as a trusted source in my managed database settings, but my app can’t connect to the database once I do so. Even though it’s attached as a component to the app.

Am I overlooking something? It seems we’re one step further from https://www.digitalocean.com/community/questions/app-platform-bug-cant-set-as-a-trusted-source-for-database-cluster - I can now select the option “app platform”, any insights when this function will work?

Do I really have to have my db open to the world to be able connect to it from app platform?

Show comments

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.

Bobby Iliev
Site Moderator
Site Moderator badge
August 30, 2021
Accepted Answer

Hi all,

This has been implemented and can be achieved by following the steps here:

https://docs.digitalocean.com/products/app-platform/how-to/manage-databases/

Hope that this helps! Regards, Bobby

Hello,

Currently, App Platform does not support VPC. All connections from apps to other services running in DigitalOcean occur over the public network.

Yes, we have this in our roadmap and as of now, connections needs to be over public network.

Cheers, Sri Charan

I am really disappointed to see no trusted sources for MongoDB after 5 months of release from Trusted Sources.

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