Skip to content

S3 bucket to keep only 3 new objects #7687

Discussion options

You must be logged in to vote

Hi @itsyosefali, thanks for reaching out. I'm going to convert this into a discussion, since it is more of a guidance question that is better suited as a discussion.

As mentioned in the bucket limitations documentation, buckets have no limit on the number of objects they can contain. If your objects are to be uploaded on a regular schedule, you could use bucket lifecycles to have older objects be deleted. Otherwise, you're right that you'd have to use Lambda or some other service to automate these deletions. Please let me know if you have any other questions.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@itsyosefali
Comment options

@RyanFitzSimmonsAK
Comment options

Answer selected by itsyosefali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7680 on February 21, 2023 00:28.