LoginSignup
3
1

More than 5 years have passed since last update.

S3から別リージョンのS3にオブジェクトをコピーする

Posted at

コピー元、コピー先両方のバケットを指定してあげる必要がある。

$ aws s3 cp s3://tokyo.bucket/hogehoge.jpg s3://seoul.bucket/ --source-region ap-northeast-1 --region ap-northeast-2

  • --recursiveオプションで全てのオブジェクトをコピーすることも出来る

$ aws s3 cp s3://tokyo.bucket/ s3://seoul.bucket/ --recursive --source-region ap-northeast-1 --region ap-northeast-2

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1