Forem

Cover image for S3 Lifecycle
Olawale Adepoju for AWS Community Builders

Posted on • Originally published at dev.classmethod.jp

3

S3 Lifecycle

Lifecycle of S3

In the previous post, I discussed the S3 storage classes. Objects can be transitioned between these storage classes depending on how critical the needs are.

Image description

For infrequently accessed objects, they can be moved to STANDARD_IA, and for archive objects that are not needed in real-time, GLACIER OR DEEP_ARCHIVE.

Transitioning of objects can be automated using a lifecycle configuration

S3 Lifecycle Rules

Transition actions: It defines when objects are transitioned to another storage class.

  • Move to Glacier for archiving after 3 months

Expiration actions: Configure objects to expire (delete) after some time

  • Log files can be set to delete after a 90 days
  • Can be used to delete old versions of files (if versioning is enabled)
  • Can be used to delete incomplete multi-part uploads

Image description

Image description

Note: The value of days transitioning to intelligent_tiering must be at least 30 more than the value of the previous Standard_IA.

The value of days transitioning to Glacier Deep Archive must be at least 30 more than the value of the previous Glacier Instant Retrieval.

Image description

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay