Skill 4.1.9

Selecting the correct data lifecycle for storage

Key Concepts

Start by classifying data: how often is it accessed as it ages, how fast must it be retrieved, how long must it be kept (legal and compliance retention), and when must it be deleted (privacy regulations)?

Implement the lifecycle with S3 lifecycle rules (transitions and expiration), Object Lock for minimum retention, AWS Backup retention and cold storage transitions, EFS lifecycle management, DynamoDB TTL to delete expired items for free, and CloudWatch Logs retention settings.

Do not transition data that will be read often or deleted soon: minimum duration and retrieval charges can make a cheaper class more expensive overall.