내용으로 건너뛰기

How can I use DataSync to transfer data cross-account from an Amazon EFS file system from one account to an Amazon S3 bucket in another account ?

0

Instead of manually mounting EFS to an EC2 instance, I want to use DataSync's native EFS location type for direct access, reducing complexity and improving security. How can I use DataSync to transfer data cross-account from an Amazon EFS file system from one account to an Amazon S3 bucket in another account without installing DataSync agent on EC2?

AWS

질문됨 일 년 전508회 조회

1개 답변
0

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

AWS

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠