Logo

dev-resources.site

for different kinds of informations.

Simplify Your Data Lifecycle & Optimize Storage Costs With Amazon S3 Lifecycle

Published at
4/10/2022
Categories
s3
aws
lifecycle
optimize
Author
noyonict
Categories
4 categories in total
s3
open
aws
open
lifecycle
open
optimize
open
Author
8 person written this
noyonict
open
Simplify Your Data Lifecycle & Optimize Storage Costs With Amazon S3 Lifecycle

This guide help you to understand all types of S3 Layer & How you can Optimize your storage costs by defining an S3 Lifecycle

AWS S3 layers

S3 is a great way to fight the ever-growing data challenge by simply utilizing the power of modern object storage technology. But for the cost-effectiveness of using S3, you have to understand the S3 layers. There are 6 different S3 Layers. You have to understand all of those 6 layers to understand which layer is suitable for you.
Image description

Note: S3 Glocier Instant Retrieval & S3 Glocier Instant Retrieval (formerly S3 Glocier) are the different types of the same later (S3 Glocier).

However, all the six different S3 layers have various pricing, performance metrics, and SLAs.
Image description

Although, I believe the key here is to know data usage patterns and adjust their distribution among classes.
Image description

So now, we have understood the layers of S3. Now we are going to enable the lifecycle for our logging S3 bucket to reduce cost.

Enabling S3 Lifecycle Policies

Open AWS console and S3 bucket and select the S3 bucket which you want to enable the Lifecycle policy.
Image description

Image description

  • Lifecycle rule name: Give a Rule name. Ex: S3FullLifecycle
  • Choose a rule scope: Apply to all objects in the bucket
  • Lifecycle rule actions: Select

    • Move current versions of objects between storage classes
    • Expire current versions of objects
  • Transition current versions of objects between storage classes

storage class Days after object creation
Intelligent-Tiering 30
Glacier Instant Retrieval 60
Glacier Instant Retrieval (formerly Glacier) 180
Glacier Deep Archive 360
  • Expire current versions of objects: 730

Review transition and expiration actions

Then Click the Create rule button.

It will create your bucket lifecycle rule.
Image description

Note: We can do whatever you wnat or your business requirements. And also you can change the lifecycle policies anytime as per your need.

By enabling S3 Bucket Lifecycle policies you can save upto 70% of your S3 Bucket Storage cost.

So try to maintain the lifecycle policy for all of your bucket. If you don't know or understand your bucket data usage patterns by enabling S3 lifecycle policy by just Intelligent-Tiering after 30 days will save your storage cost upto 50%.

Summary
In this post, I showed “S3 Layers and by understand & utilizing those layers how you can create an S3 Lifecycle Policies to reduce the cost of an S3 bucket”.
To learn more, read the AWS S3 lifecycle documentation.

Thanks for reading! Happy Cloud Computing!

Connect with me: Linkedin

lifecycle Article's
30 articles in total
Favicon
Efficiently Deleting Millions of Objects in Amazon S3 Using Lifecycle Policy
Favicon
How to reuse variables in your Lambda across invocations and know when it's about to terminate
Favicon
React js Life cycle
Favicon
The Data Science Lifecycle: From Raw Data to Real-World Results
Favicon
Effortlessly Link Streamlit to Google Sheets for Real-time Analysis
Favicon
DevOps Full Form
Favicon
The Life Cycle of Technology
Favicon
Bridge Between Lifecycle Methods & Hooks
Favicon
Angular Life Cycle Hooks
Favicon
The Lifecycle of React Components
Favicon
The ContentAfterCheck Hook in Angular
Favicon
Angular OnChanges: Building Robust Applications
Favicon
The Life Cycle of Developing a Website 🚴‍♀️
Favicon
Activity and Fragment Lifecycle - Android
Favicon
Simplify Your Data Lifecycle & Optimize Storage Costs With Amazon S3 Lifecycle
Favicon
Vue 3 lifecycle hooks with real-time example
Favicon
Jetpack Compose Lifecycle
Favicon
Intermediate Exploration of some React library concepts
Favicon
End-to-end machine learning lifecycle
Favicon
React Lifecycle Methods in Functional Terms
Favicon
React Hooks - Understanding the useEffect Hook
Favicon
Application probes
Favicon
Flutter App life cycle
Favicon
React Hooks: An Introduction
Favicon
The React Lifecycle Methods: An Introduction
Favicon
React.useEffect()
Favicon
React Component Lifecycle Methods from v16.3 with example
Favicon
Passado e futuro?
Favicon
Active Record Callbacks Introduction
Favicon
React and its Lifecycle Methods Explained

Featured ones: