Copy data cross account cross region using DataSync

0

Hi AWS, I am trying to copy data from S3 bucket in one region in source account to another S3 bucket in another region in destination account. I was able to create the DataSync locations successfully for both source and destination, but now when I am creating the task to test whether I am able to copy data from source bucket to destination bucket across accounts and regions I am not able to do and while I checked the DataSync Log Group, it is giving the error Execution exec-056dfghgdxxxxxx finished with status Unable to connect to S3 endpoint.

I know it is possible to transfer data across accounts for the same region using DataSync, but is it possible in case of different regions as well. I am really confused. Please help

Details in case you get stuck because of the description provided above:

  • Source account: 111111111111
  • Destination account: 222222222222
  • Source bucket: datasync-source-bucket
  • Destination bucket: datasync-dest-bucket
  • Source region: ca-central-1
  • Destination region: eu-west-2
3개 답변
1

Here is an updated tutorial in the AWS DataSync documentation for transferring data cross account and cross region with AWS DataSync. https://docs.aws.amazon.com/datasync/latest/userguide/tutorial_s3-s3-cross-account-transfer.html

This tutorial notes that you must create and start your DataSync task from the region of the destination S3 location. In this case the task would be created and run in the destination region: eu-west-2

Step 6.2
Important
To avoid a network connection error, you must start your DataSync task from the Region of the destination location.
AWS
답변함 7달 전
0

Hi,

You have a step-by-step implementation for cross-region and cross-account with Datasync in this blog post: https://aws.amazon.com/blogs/storage/transferring-file-data-across-aws-regions-and-accounts-using-aws-datasync/

Just modify their values to yours to get your system to. work

Best,

DIdier

profile pictureAWS
전문가
답변함 7달 전
0

Ensure the data sync agent has access to the internet via a NAT gateway so that it can access the S3 endpoints in the different regions.

The agent needs to be on a private subnet which has a route to a NAT gateway.

profile picture
전문가
답변함 7달 전

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠