not quite right. no need for lifecycle.
- create a bucket.
- create a rclone config for that bucket using
storage_class = GLACIER
- use rclone to upload files to that bucket.
if you check, the files upload will have storage class of glacier and you will be billed accordingly,
here is a spreadsheet i once created
aws | 1GB | 1TB | Min stor days | cost/gb | cost/TB | |
---|---|---|---|---|---|---|
Standard | $0.02300 | $23.55 | ||||
Standard - Infrequent Access | $0.01250 | $12.80 | For long lived but infrequently accessed data that needs millisecond access | |||
One Zone - Infrequent Access | $0.01000 | $10.24 | For re-createable infrequently accessed data that needs millisecond access | |||
Glacier | $0.00400 | $4.10 | 90 | For long-term backups and archives with retrieval option from 1 minute to 12 hours | ||
Glacier Deep Archive | $0.00099 | $1.01 | 180 | For long-term data archiving that is accessed once or twice in a year and can be restored within 12 hours |