I have followed your steps, and faced same error. "DataSync location access test failed: could not perform s3:HeadBucket on bucket Access denied. Ensure bucket access role has s3:ListBucket permission."
not the best approach, but instead of using IAM role/ IAM user i used root user and instead of this string "arn:aws:iam::DIST_ACCOUNT_ID:user/distention_account_logged_in_user" try this: "arn:aws:iam::DIST_ACCOUNT_ID:root", this worked for me
Hi @jdkDevelopmentOfficial I followed your steps, but I got an error DataSync location access test failed: could not perform s3:GetObject in bucket source11. Access denied. Ensure bucket access role has s3:GetObject permission.
Hi! can you please help i am getting this error while creating task : last step of the video Failed to create task Request ID: Action datasync:CreateTask Status code 400 API response DataSync location access test failed: could not perform s3:HeadBucket on bucket careem-pubweb-staging. Access denied. Ensure bucket access role has s3:ListBucket permission.
this video explain WAY BETTER than the official documentation in AWS and also that documentation has a lot of inconsistency.
Hello @Jawad, from which account is the 'aws datasync create-location' being run from, in which account will the location appear?
works like a charm! .. thank you very much. It saved me a lot of time.
hello @Jawad, why do the bucket ACLs need to be disabled?
Thanks for this!! Does this support accounts across different organizations so data can be transferred to various clients if needed?
Yes it does!
Great Video! Is it possible to use datasync to transfer only objects with a specific tag? If so how?
I have followed your steps, and faced same error. "DataSync location access test failed: could not perform s3:HeadBucket on bucket Access denied. Ensure bucket access role has s3:ListBucket permission."
not the best approach, but instead of using IAM role/ IAM user i used root user and instead of this string "arn:aws:iam::DIST_ACCOUNT_ID:user/distention_account_logged_in_user" try this: "arn:aws:iam::DIST_ACCOUNT_ID:root", this worked for me
@@АняОсипчик if we dont have root user what is the alternative approach
@@АняОсипчик Thanks a lot, this worked for me.
hello @Jawad, which permissions does the logged in user needs to have?
Mostly bucket and users permissions
Thank you! You saved us hours!
Hi sir,
this policy wont do anything harm to source s3 right? for example the source bucket cannot be accessible bcs the policy
No there's nothing harm this policy is not for public It's for specific entity.
Hi @jdkDevelopmentOfficial I followed your steps, but I got an error
DataSync location access test failed: could not perform s3:GetObject in bucket source11. Access denied. Ensure bucket access role has s3:GetObject permission.
Make sure you have get files permission in source account.
i put "s3:GetObject", in the firts statement on the source role and works
Can you move from Acccount1 West region to Account2 East region as well?
How is the EFS to EFS procedure between different accounts?
Hi!
can you please help i am getting this error while creating task : last step of the video
Failed to create task
Request ID:
Action
datasync:CreateTask
Status code
400
API response
DataSync location access test failed: could not perform s3:HeadBucket on bucket careem-pubweb-staging. Access denied. Ensure bucket access role has s3:ListBucket permission.
i need to allow full access on datasync of source account to my cli user ?
No need for full access but I think you're missing S3:ListBucket permission.
Does this feature involves cost? If I want to move millions of objects to another AWS account, will this incur any cost?
Yes, It's costing but not too much you can find more details in their pricing module.
@@jdkDevelopmentOfficial thank you.. Yes i went through the pricing.. Thank you for this informative video
Thanks jdk develoment its is working now
Pleasue
how to transfer 1GB single file ?
You can transfer 1GB file using"aws sync" using aws cli.
If you use MFA it will be more complicated. They never explain it in the tutorial.
Great work, thx
It helped. Thanks a lot.
Thanks!
excellent
thank
🔥🔥🔥
This video is great! Thank you