Lifecycle management defines how Amazon S3 manages objects during their lifetime.
Some objects that you store in an Amazon S3 bucket might have a well defined lifecycle:
If you are uploading periodic logs to your bucket, your application might need these logs for a week or a month after creation, and after that you might want to delete them.
Some documents are frequently accessed for a limited period of time. After that, you might not need real time access to these objects, but your organization might require you to archive them for a longer period and then optionally delete them later. Digital media archives, financial and healthcare records, raw genomics sequence data, long term database backups, and data that must be retained for regulatory compliance are some kinds of data that you might upload to Amazon S3 primarily for archival purposes.
For such objects, you can define rules that identify the affected objects, a timeline, and specific actions you want Amazon S3 to perform on the objects.
Amazon S3 manages object lifetimes with a lifecycle configuration, which is assigned to a bucket and defines rules for individual objects. Each rule in a lifecycle configuration consists of the following:
An object key prefix that identifies one or more objects to which the rule applies.
An action or actions that you want Amazon S3 to perform on the specified objects.
A date or a time period, specified in days since object creation, when you want Amazon S3 to perform the specified action.
You can add these rules to your bucket using either the Amazon S3 console or programmatically.
Click to View What Learners Say about us : Testimonials
We have training subscriber from TCS, IBM, INFOSYS, ACCENTURE, APPLE, HEWITT, Oracle , NetApp , Capgemini etc.