Migrate service to another cloud or region
When creating an Aiven service, you are not tied to a cloud provider or region. You can migrate your services later to better match your needs. Services can be moved to another cloud provider, another region within the same provider, or both.
When migrating a service, the migration happens in the background and does not affect your service until the service has been rebuilt at the new region. The migration includes the DNS update for the named service to point to the new region. Most services usually have usually no interruptions. However, for services like PostgreSQL®, MySQL®, and Caching, it may cause a short interruption of 5 to 10 seconds in while the DNS changes are propagated. The short interruption does not include potential delays caused by client side library implementation.
- Console
- Terraform
- Log into the Aiven Console, select your project and select the service you want migrate to another cloud or region.
- On the service page, click Service settings from the sidebar.
- In the Cloud and network section, click Actions > Change cloud or region.
- In the Migrate service to another cloud window, select new cloud provider and region and click Migrate.
To change the cloud provider or region, update the cloud_name
attribute in
your Aiven service resource.
Your service is in the Rebuilding state. Once the rebuilding is over, your new cloud provider and region will be in use.
The service's URI remains the same after the migration.
You can also use the dedicated service update function to migrate a service via the Aiven CLI.