Non-versioned Bucket Lifecycle rules

0

Quick question!

I create a new bucket with versioning disabled. My goal is to have everything that is added to that bucket immediately moved to a Glacier Deep storage class.

I got a little confused with the rules actions. I'm assuming in a non-versioned bucket, all objects are treated as 'current version'.

 For my case, I only need the first box checked, correct?

Thanks!

demandé il y a un an593 vues
2 réponses
0

If there is no versioning enabled on the S3 bucket then all the objects present inside the S3 buckets will be current versioned objects as there are no previous of objects stored in the bucket. If you want to change the storage class of objects immediately after uploading to S3 bucket, you can consider uploading the objects to "Glacier Deep Archive". If you are uploading via CLI then you can also consider passing --storage-class "DEEP_ARCHIVE" parameter while uploading an object using cp command.

AWS
répondu il y a un an
0

Adding to the previous answer. You can’t move direct to deep archive. Objects can only move to deep glacier archive after a minimum of 180 days.

Yes objects are current version without versioning on.

If you want data to go direct to glacier you’ll need a glacier vault and send objects direct.

profile picture
EXPERT
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions