I want to copy files from one s3 bucket to another. But the thing is I just want to transfer 1000 files at a time and in total I have 300,000 files. And another thing is I want to give 15 sec time between batches to transfer.
I have written below code, which copy from one s3 to another but server is getting stuck. So please help me with this problem.
aws s3 cp s3://sources3bucket/ s3://dests3bucket --recursive
Thanks in advance!
You can use AWS Step Functions to copy files from one Bucket to Another. The steps involves
For more details refer the Blog Article in AWS Compute Blob Synchronizing Amazon S3 Buckets Using AWS Step Functions .
Sample code is available in SyncBucketsStateMachine Github Repository.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.