Question

Extending droplet disk size with volumes

Hello guys,

DO droplets general plans are very good but are very low in terms of disk space. So I bought a plan with enough CPU and RAM but disk space is still very low even if I choose x2 SSD.

Is there a possibility to extend droplet disk size with volumes?

I understood that the volumes are like some external disks, but is there any possibility with their help to expand the space of the primary disk?


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.

KFSys
Site Moderator
Site Moderator badge
August 20, 2023
Accepted Answer

Heya @yoohtech,

Yes, you can achieve that. These volumes function like external drives, as you mentioned.

However, these volumes do not directly expand the primary disk of a droplet. Instead, they’re added as separate storage, and you can mount them to any directory of your choice on the droplet.

While the volume is not expanding the primary disk, it can be effectively used to offload data from the primary disk. For instance, if you’re running a database, you can move the database storage to this volume. Similarly, if you’re hosting media files or user uploads, they can reside on this volume.

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