How to add/remove replicas to a postgres cluster (fly machines repmgr)?

I’m planning to migrate my stolon based pg cluster to a repmgr based cluster. I assume the best way would be to migrate data to one instance and then add replicas.

However the documentation for the apps v2 doesn’t mention anything about scaling horizontally: Scale Postgres VMs · Fly Docs

PS. I wish there was a guide of some sort on cluster migration to repmgr.

Hey @Elder,

To scale horizontally, you’ll want to reach for:

fly machines clone <machine-id> 

Horizontal scaling docs do seem to be missing for some reason… I will look into this. In the meantime, you can find some basic docs with the project repo: