Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
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
Hi @ALKateb,
EDIT April 2023
As of the time being Managed Database Cluster cannot be resized to an instance with smaller disks.
The main reason why database nodes cannot be resized to smaller sizes is due to the risk of data loss. This is also valid for our Droplets as well.
To downgrade to a smaller instance you can follow the steps here:
In the past, you could use the API to downgrade your instances as described bellow which is currently not the case.
At the moment Digitalocean does not support scaling down of a Managed database cluster from the UI, You can read about limitations here:
https://docs.digitalocean.com/products/databases/mysql/#limits
Alternatively, you can resize the database cluster to size your choice using DO API/DOCTL CLI.
DOCTL CLI:
https://docs.digitalocean.com/reference/doctl/reference/databases/resize/
doctl databases resize b1723184-32d7-41eb-8bb3-f911b6d9d449 --num-nodes 1 --size db-s-1vcpu-1gb
DO API:
https://developers.digitalocean.com/documentation/v2/#resize-a-database-cluster
Please note, there are 3 different slugs identifiers for machine type. You have to modify them according to your cluster resize slug size. For example
Basic Node :
{"size":"db-s-2vcpu-4gb", "num_nodes":1}
General Purpose Node :
{"size":"gd-4vcpu-16gb", "num_nodes":1}
Storage Optimized Node :
{"size":"so1_5-4vcpu-32gb", "num_nodes":1}
curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer xxxxxx" -d '{"size":"gd-4vcpu-16gb", "num_nodes":1}' "https://api.digitalocean.com/v2/databases/{UUID}/resize"
I hope this helps!
Regards, Rajkishore
Hello,
The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.
Hope that helps!
WTH I’ve upgraded my db cluster temporary for a bigger job. Now I wanted to downgrade both instances to the original one and notice I cant do that.
So instead of 60 USD/Month, I now have to pay 500 USD/month.
Why is there no huge warning that this step can not be reverted from the UI?