Practical

  1. Adding a Lifecycle rule

  • Create a bucket -> enable version -> goto lifecycle ->add rule -> add rule either to bucket or to the directory in abucket-> actions on current version -> select the option you want toenable -> actions on previous version (for versioning, what todo for file already existing) -> review -> create and savethe rule.

(note: you can directly upload files to standard storage, standard storage -IA, reduced redundancy, while selecting the file for uploading select set details -> select storage type).

Restoring from glacier

  • Objects archived to Amazon Glacier are not accessible in real-time.

  • We must first initiate a restore request and then wait until a temporary copy of the object is available for the duration (number of days) that you specify in the request.

    (note: if we enter incorrect url it will display the message

  • Amazon S3 processes only one restore request at a time per object. Temporary object is copied to RRS storage, so we have to pay for glacier as well as

RRS. Practical

Select the object -> initiate restore -> Specify
the number of days that your archived data will
be accessible (5, so data will be able to access
temporarily) -> select retrieval option -> restore

Last updated