Can I increase the size of the root disk on a droplet without increasing the ram or the cpu?

July 3, 2018 108 views
DigitalOcean Deployment MySQL

I want to setup a mysql server that stores a lot of of data but will be rarely hit and even then with internal services. With that goal in mind I want to create a droplet with 8GB ram but 500GB HDD. Is there a way I can do this?

1 Answer

I think here that your best bet is to use block storage volumes, equivalent to the Amazon EBS volumes if you have used those before. So, you may have the fixed root drive, but you can attach on the secondary 500GB block storage volume as a data partition. You should be able to specify the datadir in the /etc/my.cnf configuration file to point to a mount of the secondary 500GB block storage volume.

Have another answer? Share your knowledge.