Articles → AWS → Copy Files From One Bucket To Another Using Transfer Acceleration In AWS

Copy Files From One Bucket To Another Using Transfer Acceleration In AWS






Create 2 S3 Buckets




Picture showing the source and the destination buckets created in AWS console
Click to Enlarge


Enable Transfer Acceleration For Both The Buckets




Picture showing the transfer accleration enabled for the source and the destination bucket
Click to Enlarge


Configure CLI





Enable Acceleration Endpoint On The Default Profile




aws configure set default.s3.use_accelerate_endpoint true



Transfer File Using The Transfer Acceleration Endpoint




aws s3 cp s3://<source bucket>/<file key> s3://<destination bucket>/<destination file key> --endpoint-url <Accelerated endpoint>


Picture showing the CLI command executed for transfering the objects from one bucket to another using the transfer accleration
Click to Enlarge


Output




Picture showing the file gets copied to the destination bucket
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 25, 2023

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250