Question

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

Posted November 22, 2020 1.8k 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?

1 comment

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
1 answer

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