Link to home
Start Free TrialLog in
Avatar of MostHated
MostHatedFlag for United States of America

asked on

Transferring an AWS s3 bucket from one account to another?

Hello all,
    I just started with a company and we are in process of getting started with AWS. The previous administrator was learning AWS and getting the ball rolling and uploaded a ton of things, but uploaded everythnig to an account that uses his name. I have administrative access to both the old AWS account and a new company one we created. How can I take all the data from S3 buckets and move them over without having to download everything to my pc (it is a few TB of data) and then reuploading it? I tried to go in to the old AWS buckets permissions and tried to see if I could add the new AWS accounts number to it, but it said "Invalid ID".

Any ideas?
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Phil Phillips
Phil Phillips
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You should have renamed the old account to use a new name and a new set of credentials.
If your new and shiny corporate account still has a small amount of resources, do that.
Avatar of MostHated

ASKER

It does use a new name and credentials for the top level account. I can make any new accounts under either if need be. I am going to look into the link that @Phil Phillips posted and see if that works out for me and then report back.

Thanks!
Ok, great. I was able to get it working. Thanks again.

Is there a way to make multiple ones go right after another?

Example :

aws s3 sync s3://bucketA1 s3://bucketA2, aws s3 sync s3://bucketB1 s3://bucketB2, aws s3 sync s3://bucketC1 s3://bucketC2?