-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Delete file from AWS when expired #521
Comments
I can't find it now but i remember seeing some discussion about this, i think it was suggesting something similar to https://aws.amazon.com/blogs/aws/amazon-s3-object-expiration/ was in use? The expiry is rounded up to the "next midnight" and the link seems to suggest the only guarantee is that they will be deleted by the midnight after that one (as the rules are only applied once per day at an unspecified time). |
@ehuggett is correct. We use S3 lifecycle expiration to delete the file from AWS. Here's our exact portion of configuration for this bucket: LifecycleConfiguration:
Rules:
- ExpirationInDays: 1
Status: Enabled |
Would there be any financial benefit to deleting from AWS sooner?
It should be possible to avoid it
|
Possibly. Cost cutting isn't our top priority at this point but I think we'd welcome patches that saved us money :) |
When uploaded a file, no one downloads it. After it expired, this record will delete from redis, but not delete from AWS , right?
The text was updated successfully, but these errors were encountered: