Closed
Bug 1457816
Opened 6 years ago
Closed 6 years ago
S3 expiration policy for Firefox & mobile nightlies
Categories
(Cloud Services :: Operations: Product Delivery, task)
Cloud Services
Operations: Product Delivery
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: nthomas, Assigned: oremj)
References
Details
Could you please add an expiration policy which removes keys once they are 10 days old from these bucket+prefix combinations: net-mozaws-prod-delivery-firefox /pub/firefox/nightly/latest- net-mozaws-prod-delivery-firefox /pub/firefox/nightly/partials net-mozaws-prod-delivery-archive /pub/mobile/nightly/latest- Previous key versions can be removed after 5 days, as these are heavily overwritten but we fail forward.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → oremj
Flags: needinfo?(oremj)
Assignee | ||
Comment 1•6 years ago
|
||
I've added these rules to the stage bucket. Let's give it a few days, then let me know if everything looks good.
Flags: needinfo?(oremj) → needinfo?(nthomas)
Reporter | ||
Comment 2•6 years ago
|
||
Hmm, I'm not sure what was present on stage before the rules were added. Looks like no partials directory at least. Do we have bucket logging enabled ? Looks like we'd get S3.CREATE.DELETEMARKER and S3.EXPIRE.OBJECT operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-and-other-bucket-config.html)
Flags: needinfo?(nthomas)
Reporter | ||
Comment 3•6 years ago
|
||
ni for the bucket logging question in comment #2.
Flags: needinfo?(oremj)
Assignee | ||
Comment 4•6 years ago
|
||
Yes, we do have bucket logs enabled. I'll check it out, but it probably won't be until after the all hands.
Reporter | ||
Comment 5•6 years ago
|
||
Great! With the logging telling us what the expiration is doing, and versioning providing a restoration path if things go wrong, then I'm pretty happy we'll be OK.
Assignee | ||
Comment 6•6 years ago
|
||
I've turned these rules on in production.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(oremj)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•