Greetings all, when using the API to resize a droplet, how can you specify the hard drive size you want? I do see in the documentation that you set disk to true, but don’t see you can specify the size of the disk. To give my scenario, we have some droplets still on the old standards of 512mb of memory and 20GB hard drives. If i set the slug size to s-1vcpu-1gb and disk to true, the memory is upgraded from the old basic standard of 512 but the hard drive remains at 20GB. Thanks in advance.
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!
Hey there,
The hard drive size can’t be explicitly specified but you will gain 5Gb of disk space by moving to the new $5 plan. Should you not see the additional disk space after the API call completes it’s because the partition/filesystem of your Droplet hasn’t been resized, we have instructions on this here.
If you have any questions or need clarification on anything, just write back in and let me know.
Regards, Ethan Fox Developer Support Engineer II - DigitalOcean
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.