Sitelet https://web.archive.org/web/20201209042200/https://github.com/vmware-tanzu/velero/issues/3137
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

Allow users to specify a Storage Class when backing up to S3 #3137

Open
cullenmcdermott opened this issue Jan 16, 2019 · 3 comments
Open

Allow users to specify a Storage Class when backing up to S3 #3137

cullenmcdermott opened this issue Jan 16, 2019 · 3 comments

Comments

@cullenmcdermott
Copy link

@cullenmcdermott cullenmcdermott commented Jan 16, 2019

Describe the solution you'd like
I would like the ability to specify a storage class in order to avoid having to setup additional lifecycle rules for objects in my bucket(s).

Anything else you would like to add:
Any metadata associated with the backup that is kept in the S3 bucket would probably need to be kept in the 'standard' class. Otherwise S3 costs could balloon if Ark were to frequently try to read from it when it was in the IA tier for example. Also extra consideration would need to be taken for restores from Glacier since it can take up to a few hours to be available and is only available for a certain amount of time.

@nrb
Copy link
Member

@nrb nrb commented Feb 19, 2019

Thanks for this request, and apologies about the delayed response.

I haven't done a code dive on this yet, but I think we should be able to add this as an entry to a BackupStorageLocation.ObjectStorage.config map, and maybe some validation on the storage class name.

@skriss @rosskukulinski Any other thoughts?

@skriss
Copy link
Member

@skriss skriss commented Feb 19, 2019 •

@cullenmcdermott are you envisioning different storage classes for the different files stored in S3 (there's ark-backup.json, the backup tarball itself, a log file, etc.)? Also - are you envisioning Ark/Velero changing these over time? Or is a single static storage class, configurable by you, for each object that gets uploaded sufficient?

@cullenmcdermott
Copy link
Author

@cullenmcdermott cullenmcdermott commented Feb 19, 2019

I think a single static storage class would be fine in most cases. The only potential issue I'd see with that is if there are any files that get uploaded that store metadata that are retrieved before a backup is performed then it could be expensive to retrieve them regularly in the case of IA or could cause the Ark backup to fail in the case of Glacier.

@skriss skriss transferred this issue from vmware-tanzu/velero Nov 8, 2019
@nrb nrb transferred this issue from vmware-tanzu/velero-plugin-for-aws Dec 7, 2020
@carlisia carlisia added this to Needs triage in Velero Support Triage Board Dec 7, 2020
@nrb nrb moved this from Needs triage to Triaged in Velero Support Triage Board Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.