AlloyDB resource scale down

Can we scale down AlloyDB machine type - vCPU and Memory once the cluster got created?

3 2 96
2 REPLIES 2

Hi @RavikumarV ,

Unfortunately, , directly scaling down the virtual CPUs (vCPUs) and memory (i.e., the machine type) of an existing AlloyDB cluster in Google Cloud is not supported.

  • AlloyDB is designed for high performance and availability. Reducing the machine type dynamically would require significant internal reconfiguration, potentially disrupting ongoing operations and cluster stability.

Possible Workarounds

Create a New Cluster

  • Procedure: Start by creating a new AlloyDB cluster with the desired, smaller machine type. Then, migrate your data from the existing cluster to the new one using data migration tools like pg_dump and pg_restore.

  • Considerations: This method will likely involve some downtime during the data migration process, and you'll need to handle the transfer of database connections and configurations.

Thanks Mark Shay for your detailed answer.