- Newest
- Most votes
- Most comments
Hello valued customer.
To transfer data cross-account from an Amazon EFS file system in one account to an Amazon S3 bucket in another account using AWS DataSync follow the following steps:
1/ In the source account, create a DataSync source location for the EFS file system.
2/ Create an IAM role in the source account that grants DataSync permission to write to the destination S3 bucket in the other account.
3/ Configure the destination S3 bucket in the target account with a bucket policy granting access to the source account’s DataSync role.
4/ Create a DataSync destination location for the cross-account S3 bucket using AWS CLI (console does not support cross-account destination creation).
5/ Create and start the DataSync task in the source account to transfer data from EFS to S3.
Ensure network connectivity and correct IAM permissions between accounts for the transfer to succeed.
Please review the following links for additional examples. I hope this information helps you! https://aws.amazon.com/blogs/storage/transferring-file-data-across-aws-regions-and-accounts-using-aws-datasync/ https://outshift.cisco.com/blog/transferring-data-with-aws-data-sync
Relevant content
- asked 3 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 7 months ago
