Use this operation to move a Linode. There are two types of migration you can perform:
-
Migrate to a new data center. This applies when you want to move your Linode from one data center to another. You need to include the desired
regionfor the new data center in the request. Run the List regions operation to see all available regions and their feature capabilities. Also, see our pricing page for region-specific pricing, which applies after migration is complete. -
Initiate a pending host migration. This applies to a migration that Akamai has scheduled for your Linode. Run the List notifications operation to see any pending host migrations. When the migration begins, the API shuts down the Linode if it's not already off. If the migration initiated the shutdown, the API reboots the Linode when completed.
Consider these points before starting any migration:
-
You can't migrate a Linode to a new data center when that Linode has a
vpcpurpose, legacy configuration interface or a VPC Linode interface. Either of these situations can only be migrated within the same data center. See the VPC documentation guide for its specifications and limitations. -
Only next generation network (NGN) data centers support VLANs. Run the List regions operation to view the capabilities of each data center. If a VLAN is attached to your Linode and you try to migrate or clone it to a non-NGN data center, the operation won't initiate. If a Linode can't be migrated or cloned because of an incompatibility, you'll be prompted to select a different data center or contact support.
-
NGN data centers don't support IPv6
/116pools or IP Failover. If you have these features enabled on your Linode and try to migrate to an NGN data center, the migration won't initiate. If a Linode can't be migrated because of an incompatibility, you'll be prompted to select a different data center or contact support. See the VLANs Overview guide to view additional specifications and limitations. -
If the Linode is using a public Linode interface, the destination region needs to also support Linode interfaces. Run the List regions operation to see their feature capabilities.
-
After migrating to a different data center, Linode public interfaces retain the same number of IP addresses, but the IP addresses themselves change.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Permissions:
migrate_linode
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
linodes:read_write
- Scopes:
CLI
linode-cli linodes migrate 123 \
--region us-central \
--placement_group.id 528