Choosing a storage class once is not enough, because data cools over time: this week's logs are read constantly, last year's almost never. Amazon S3 gives you automation to move and delete data as it ages (Lifecycle rules), analytics to find where storage money is going across the organization (S3 Storage Lens), and a billing option for sharing large datasets without paying for everyone else's downloads (Requester Pays). S3 Lifecycle rules are configured on a bucket and apply to all objects, or to a subset filtered by prefix, object tags or object size. A rule has two kinds of actions. Transition actions move objects to a cheaper class a number of days after creation, for example to Standard-IA after 30 days and Glacier Flexible Retrieval after 90. Expiration actions delete objects after a period. On versioned buckets, separate noncurrent version actions transition or expire older versions, for example keep noncurrent versions for 30 days and then delete them, which stops old versions quietly growing the bill. Rules can also remove expired delete markers and abort incomplete multipart uploads after a set number of days.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.