Recursively change storage class on bucket #2056
Closed
Labels
Comments
You can do it by running this command:
And then if you check the contents, the class should be
I am not sure storage class is something we would want to define in the config file. It is pretty specific. It would need to be something more general like setting default parameters. Let us know if that helps. |
Thanks Kyle, I hope that goes into the man page / documentation as an example. |
Sorry for excavating a such old issue. Just to warn other users who will use a command. The method you supplied will duplicate objects in case if bucket versioning is enabled (hence double the price). Just curious - where i can submit a request to reduce S3 to S2 (as it is not simple)? |
WIll this change of storage class charge for data transfer? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How does one recursively change all objects on a bucket to
STANDARD_IA
withaws s3
?http://docs.aws.amazon.com/AmazonS3/latest/dev/ChgStoClsOfObj.html
Bonus: A way of defining a default storage class in
~/.aws/config
The text was updated successfully, but these errors were encountered: