Question

How to add my DigitalOcean App as a trusted resource for my Managed Database

I have signed up for the Managed Database for Postgreql. Now I have also signed up for a DigitalOcean App and selected the Managed Database as the database.

There was a message telling me that I have restricted access to the database and that I should turn off this restriction.

Instead of turning it off, how can I simply add the App as a trusted resource for the database?

Subscribe
Share

+1 This is critical for us as well. Can we get an update or ETA on this?

Has this really had no progress since October last year? This is a crazy oversight. I’m trying to host Strapi CMS for a client and manage users. Isn’t having the DB completely open like this against the law? We can’t just leave things like user data lying around in an unprotected DB.

+1 Need to add a DigitalOcean app as the only trusted source of the database cluster.

Please add this critical feature!

@crashoverride any updates?

This is literally all I was looking for in a new provider. Containerised App->Secure MySQL.

This is critical.

I hope the DigitalOcean team includes this important update to AppPlatform, but at this time I found a small simple solution. It’s working for my services on the App Platform.

https://github.com/vladles/mysql-over-ssh

I just pitched the app platform to a couple of clients and got them excited to get on board, then realize you can’t set your app as a trusted source for managed databases…

I’m trying to take advantage of the “latest and greatest” you have to offer, but things like this make it extremely difficult to do so.

Any ETA?

@crashoverride , could you please share an update on any progress made or an ETA on this request (i.e. adding an DO app as a trusted inbound source to the DB). Or, in the meantime, any alternatives would be welcome too. Thanks.

This is a critical feature to allow my company to utilize this for our clients.

We would like to port over a few projects but without knowing an approximate timeframe it becomes hard to delay the other team from pushing to go full-on onto AWS (Which I really want to avoid atm)

I hope this is not a huge ask and that some timeframe is conceivable.

Much love and thanks for this platform.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

Just want to add a +1 to this request. I understand the App Platform has floating IPs but restricting access to a managed database from an App is a pretty important security issue.

I would just like to add that we’re interested in trying out DO Apps platform but we would need to connect to a DO managed database from our apps.

Hi ChellGouda

You can now add an app to the trusted sources of your Postgres, Mysql and Redis Managed Databases.

Best, Moises

+1 Looking forward to this feature!

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

+1 AppPlatform still cannot be added as Trusted Source for database (the UI still suggests the app name though).

How are you managing this now? Just allowing open connections? I have an app in the app platform and then I upgraded to a managed database. The only way my app can connect is to allow open connections? Please help

Any news?

Any updates on this? Looking forward to it!