Move AWS Resources to another Account
We are running various AWS resources currently in an account namely but not limited to :
EC2 (we can copy AMIs), RDS,VPC,IAM, S3, SNS, CloudWatch, CloudFront,Auto Scaling
we now want to move everything to another AWS Account. How Do I move all?
I need to get the S3 Buckets synced and so does CloudFront.
I was trying to get hold off CloudFormation and generated a CloudFormer Template. Then I imported the template to new AWS Account and Launched a new Stack out of this Template.
What's next ??
I can't see EC2 Servers created, nor S3, security group, EBS, nothing is there on the new account.
How do I move all the resources in one go ?
Thank you. Sandeep
Solution 1:
If you build your entire infrastructure with CloudFormation you could more easily replicate it, even in another account.
You still need to deal with data migration, which will be different depending on your deployment setup.
If you use configuration management most if not all of your OS can be replicated in your other account too.
While AWS does have a method of reverse engineering a CloudFormation template based on your current environment I've never tried it, sounds like you should give it a go.
The aws cli has commands to move s3 data "aws s3 sync s3://from s3://to". You may need to export or otherwise share other data like RDS and SNS.
Solution 2:
You may be able to contact AWS Support for this:
If you want to assign ownership of the account and its resources to another party or organization, contact AWS Support for help:
- Open the AWS Support Center.
- Choose Create case.
Enter the details of your case:
For Regarding, choose Account and Billing Support. For Service, choose Account. For Category, choose Ownership Transfer.
For all other fields, enter the details for your case.
Choose a contact method, and then choose Submit.
AWS Support will contact you using the method that you selected and help you transfer your account to another party.