Migrate to a different cloud provider or region¶
Any Aiven service can be relocated to a different cloud vendor or region. This is also valid for PostgreSQL® where the migration happens without downtime. Cloud provider/region migration features mean that you can relocate a service at any time, for example to meet specific latency requirements for a particular geography.
To migrate a PostgreSQL service to a new cloud provider/region
Log in to the Aiven web console and select the PostgreSQL instance you want to move.
In the Overview tab, click Migrate Cloud.
Select the new cloud provider and region where you want to deploy the PostgreSQL instance, then click Create
The PostgreSQL cluster will enter the
REBALANCING state, still serving queries from the old provider/region.
New nodes will be added to the existing PostgreSQL cluster residing in the new provider/region and the data will be replicated to the new nodes. Once the new nodes are in sync, one of them will become the new primary node and all the nodes in the old provider/region will be decommissioned. After this phase the cluster enters in the
RUNNING status, the PostgreSQL endpoint will not change.
To have consistent query time across the globe, consider creating several read-only replicas across different cloud provider/regions