Lifecyle rule Management in S3 service of AWS

LifeCyle Management in S3

It is used to manage object in S3 buckets.
It is used for configure rules for moving data in S3 from one storage tier to another storage tier or remove/expire object permanently.

Advantage:
Automatic moving you objects between the different storage tiers.
Can be used in Conjunction with versioning.
can be applied to current versions.
can be applied to previous vesions.

Following are the example show to create the Lifecyle policy in S3 Service

1. Login with AWS console and go to S3 service.

2. Select the bucket and Management tab where we found life cycle tab.
Select the BUCKET –> then go to MANAGEMENT tab –> LIFECYLE

Lifecycle S3

3. Press Add button for life-cycle rule as show below:
One new window will open as following levels:

A. Add Name and scope
Enter your lifecycle rule name
Note: Prefix is used to set for particular prefix objects

Name of lifecycle

b. Go to Next Transitions
Choose the Storage Class transitions for move from one storage tier to another storage tier as you business need.

transistions

c. Expiration
In this you move the current object into the previous version and also you can delete the previous version permanently from S3 objects. You can define rule according to your needs.

Expiration

d. Review

You can review the setting and save the lifecyle for creation.

review

4. New lifecycle is started shown in Management tab of bucket.

Lifecycle created

Delete the Lifecyle rule
Simple click on the run will enable the DELETE button as shown below. Then press the DELETE button press CONFIRM Button for delete the rule.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.