Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support s3 storageclass #1043

Closed
fakemoon opened this issue Nov 23, 2021 · 4 comments · Fixed by #1421
Closed

Support s3 storageclass #1043

fakemoon opened this issue Nov 23, 2021 · 4 comments · Fixed by #1421
Assignees
Labels
kind/feature New feature or request

Comments

@fakemoon
Copy link

What would you like to be added:
For s3-like object storage backend, storageclass is used to control redundancy level of a object (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html) and it has been implemented by s3 client library. It would be great if we could have this property on juicefs format to let user have the choice of what level of redundancy they want and reduce the cost of s3.

Why is this needed:
I want to use “Reduced Redundancy” level of storageclass for non-important files.

@fakemoon fakemoon added the kind/feature New feature or request label Nov 23, 2021
@davies
Copy link
Contributor

davies commented Nov 23, 2021

Currently, we can create the S3 bucket manually and pick the storage class as you like. We should document this.

Since different vendor has different storage classes, it will be a burden to maintain them.

@geevarghesest
Copy link

Hi, I am currently using juicefs in production.
When creating a bucket in S3, the storage class cannot be specified.
Existing bucket objects can have their storage classes changed using lifecycle configuration, but doing so requires an object expiry value of at least 30 days. I am in need of instantly moving every file uploaded by juicefs to a different storage class. Would appreciate any assistance.

@davies davies reopened this Mar 24, 2023
@davies
Copy link
Contributor

davies commented Mar 24, 2023

Just realized that we can't change the default storage class of S3 bucket, let's reopen this issue, target it for v1.1 release

@xiaogaozi xiaogaozi removed their assignment Mar 27, 2023
@zhijian-pro
Copy link
Contributor

done by #3534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants