I would like to transfer ownership of an Amazon EC2 instance from one AWS account to another. How can I do this?

AWS Support does not have access to copy Amazon EC2 resources or manipulate any configuration options in AWS accounts. You can't separate an AWS account from an Amazon.com account or transfer resources between AWS accounts. It is possible to manually migrate Amazon EC2 resources from one account to another by completing the steps described here.

Follow these steps:

  1. In the source account, create a custom Amazon Machine Image (AMI) that matches the instance configuration currently running on the source AWS account. For more information about creating a custom AMI, see Creating Your Own AMI.
  2. Edit the permissions on the custom AMI so that it can be shared with the destination AWS account. Sharing an AMI with Specific AWS Accounts describes how to share an AMI using either the Amazon EC2 console or the AWS Command Line Interface (CLI).
  3. Follow guidance in Creating an Amazon EBS Snapshot to create snapshot(s) of any EBS volume(s) attached to the instance in the source AWS account. This will allow data associated with the source instance to be shared with and migrated to the destination AWS account.
  4. Share the Amazon EBS snapshot(s) with the destination AWS account by modifying permissions of the snapshot(s) as described in Sharing Snapshots.
  5. In the destination AWS account, restore a copy of the original volume(s) per recommendations in Restoring an Amazon EBS Volume from a Snapshot. The restored volume(s) wil contain the data necessary to create a duplicate of the instance.
  6. In the destination AWS account, follow the steps in Finding Shared AMIs to locate the private AMI shared by the source AWS account. The shared private AMI can be located using either the Amazon EC2 console or the AWS Command Line Interface (CLI).
  7. In the destination AWS account, attach the restored Amazon EBS volume(s) to the shared private AMI by completing steps in Attach an Amazon EBS Volume to an Instance.
  8. Finally, launch the migrated instance according to the recommendations in Launching an Instance to finalize migration of the instance.

Amazon Elastic Compute Cloud (Amazon EC2), migration, Amazon EBS, snapshot, move EC2 instance


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center.