Question

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

Posted November 22, 2020 2.5k views
SecurityDigitalOcean Managed MySQL DatabaseDigitalOcean App Platform

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?

2 comments

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.

×
Submit an Answer
3 answers

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

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