Scale a MongoDB Cluster Vertically
DBaaS allows you to scale up and down the size of your database instances. Database instance sizes are managed similarly to Cubes; each template exposes a combination of resource sizes that can be assigned to any of your clusters.
To change the template, issue a PATCH
request containing the MongoDB templateID
.
Endpoint
Use the following endpoint to change the template: https://api.ionos.com/databases/mongodb/clusters/{clusterId}
Request
Response
The provisioning engine will delete a secondary replica and create a new server of the desired size. Once ready, it will replicate the existing data to this new server via the MongoDB Replication mechanism. During this procedure, the cluster should operate normally. When the provisioning engine identifies the new server is complete and healthy, it will continue the rollout for every remaining secondary replica up to the primary.
Last updated
Was this helpful?