Lifecycle Rules for Logs
Application logs in S3 are read often for 30 days, rarely for a year, then must be deleted. What is the simplest setup?
Choose one answer
Intelligent-Tiering for every object plus a bucket policy that denies GetObject after a year.
GetObject
A lifecycle rule: Standard-IA after 30 days, expire after 365 days.
A nightly Lambda function that copies old logs to another bucket.
Versioning with MFA delete so old logs can't pile up.