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?
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!
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.
And you can create symlinks to other folders on the second drive, wherever you want to make it seamless.
ln -s /folderOnMainDrive/folder /mountedDrive/folder/folder
I have my website on a second drive, and while my system is set up to pull website files from the main drive, they are actually symlinks that point to the second drive.
To add another drive: Click on “volumes”, then click on “add volume”
Wayne Sallee Wayne@WayneSallee.com
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.