Can I "downgrade" my PostgreSQL app?

Can I downgrade my PostgreSQL app hosted on Fly.io?

When I created it, I chose the default Production configuration, but I have already my app on Production, the cost is pretty high and the resources underutilized and I didn’t find any option to it

You can use fly machines list, fly machines stop, and fly machines destroy to remove 2 machines.

1 Like

Thanks!

just out of curiosity, can I recreate these 2 machines in the future if I destroy both of them now?

and, even If I destroy/stop all machines, the Postgres storage volume stay safe and I can revive the database any time?

Also, I stopped machines before destroy for safety, and the only machine running start locking by [✗] cluster-locks: zombie.lock detected (18.81µs), this is expected?

Oh, in that case I think you should stop the replicas and keep the primary running.

1 Like

Can I just stop 2 replicas and keep running just the primary? I managed to stop 1, but it seems that when I stop the second replica the database doesn’t work again

And can I delete the volumes attached to deleted replicas with no consequences?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.