Does App Platform provide a way to run a simple-scalable dabatase? (such as mysql or Postgres?)

Posted October 15, 2020 1.4k views
DigitalOcean App Platform

I feel that there’s a gap between “free mysql” and “managed databases”.

Of course, you could deploy your $5/mo Droplet and install the database, secure it, and ensure you have a plan to scale.

What I think a lot of us are looking for is a PaaS database that could be ran on the basic tier $5/mo.

Is there any way to achieve that (via custom Docker file)? Is it even in the roadmap?

Let the tutorials Begin!

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

đź‘‹ @iair1234

Great questions, our most accessible and affordable database is the dev db instance which is a $7/month Postgres offering. This database can be upgraded to a production database with zero downtime when you’re ready and scale on demand.

When you get into the production tier databases all three of our current offerings (MySQL, Postgres, and Redis) can scale with zero downtime. It doesn’t get much easier then that!

We don’t recommend hosting your database in App Platform because the filesystems are not persistent. The containers your app lives inside are recreated everytime your app is deployed which can be triggered by many events suchs as code changes and app spec updates.

If these options don’t work then starting out with a $5/month droplet and migrating to a managed database when needed is a viable option.

Hope this helps!