LoginSignup
4
3

More than 5 years have passed since last update.

S3ストレージクラス変更

Posted at

aws cli s3 コマンド

aws s3 cp s3://[s3-key] s3://[s3-key] --storage-class REDUCED_REDUNDANCY

aws cli s3api コマンド

aws s3api copy-object --copy-source [buket]/[s3-key] \
 --bucket [bucket] \ 
 --key [s3-key] \
 --storage-class REDUCED_REDUNDANCY

一見速そうだが、MultiPartが効かないので遅い。

動作

どのみちcopyしか効かない。s3は追記・変更が出来ないので、実質的にはcopy-objectAPIになる

4
3
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
4
3