Question

Managed Database or Droplet?

I am currently running 1 droplet and within that it’s running 1 web server and 1 database (MySQL).

My plan is to move out the database into a server of it’s own.

The database is still fairly small, it’s only at 250MB.

However, I am not sure which to pick, either a managed MySQL database or another Ubuntu droplet that only runs MySQL database.

What are the pros and cons of running a managed database versus running a droplet?

Thanks!


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.

Accepted Answer

It depends on how much time/energy you want to dedicate to maintain/update/backup your DB server. If you’d rather focus on something else, you could spin up your own Droplet. However, if you trust DO to have better methodologies and security, a managed DB could let you focus on to more important things.

I really like the idea of managed DBs, and I could not care less about managing my own server. As long as security and performance are okay, that’s good enough for me.

“Control” is really the primary downside of managed DBs for me. I have complained in other places in these forums that not being able to configure key performance factors such as innoDB size, keys, etc increases the likelihood of the performance of efficiency issues for which the only option becomes “spend more”.

The lack of more granular performance metrics is also a problem for the same reasons.

That said, if you look at managed DBs that allows for that level of control (namely AWS Aurora or RDS), they cost also quite a bit more.

Bobby Iliev
Site Moderator
Site Moderator badge
March 2, 2020

Hi there @davidyap,

In addition to what @Zehubert mentioned, in my opinion, one of the biggest benefits of the Managed MySQL Database Clusters is the scalability and the automated failover.

You can scale up at any time by easily spinning up read-only nodes to scale read operations. I’ve managed a lot of MySQL clusters in the past and manually adding new read-only nodes is really a complex process and takes a lot of time, so being able to automate all that with the DigitalOcean Managed MySQL Clusters is truly a gamechanger for me.

Also for an unmanaged MySQL cluster, if your Master node crashes, the manual recovery process is again a complex and time consuming, there would also be a lot of downtime. On the other side with the Managed MySQL Clusters, in the event of a failure, Managed Databases will automatically switch data handling to a standby node to minimize downtime.

Regards, Bobby

What I dont understand is, why a managed database is more expensive than a droplet?

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