How do I use restore tiers in the Amazon S3 console to restore archived objects from S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive?

3 minute read
0

I want to use the restore tiers in the Amazon Simple Storage Service (Amazon S3) console to restore objects.

Resolution

You can use a lifecycle rule to archive Amazon S3 objects to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive. If you archived objects this way, then you have retrieval options to restore them: expedited retrieval, standard retrieval, and bulk retrieval. To restore an archived object with the Amazon S3 console, choose a restore method that meets your needs:

Note: Expedited retrievals aren't available for S3 Glacier Deep Archive.

  1. Open the Amazon S3 console, and then choose the S3 bucket that stores the archived objects that you want to restore.
  2. Select the archived object, and then choose Actions.
  3. Select Initiate restore, and then specify the number of days that you want the restored file to be accessible for.
  4. Select a Retrieval option: bulk, standard, or expedited. Then, choose Restore.

After the restoration completes, you can download the restored object from the Amazon S3 console. The restore time depends on the storage class and retrieval option:

S3 Glacier Flexible Retrieval

  • Expedited retrievals: 1-5 minutes
  • Standard retrievals: 3-5 hours
  • Bulk retrievals: 5-12 hours

S3 Glacier Deep Archive

  • Standard retrievals: Up to 12 hours
  • Bulk retrievals: Up to 48 hours

To confirm that your file restores successfully, complete the following steps:

  1. Choose the S3 bucket that contains the file.
  2. To view the file details, select the check box next to the file name. The Restoration expiry date verifies that the file is restored. This expiration date indicates when Amazon S3 removes the restored copy of your file.
  3. Choose Download. This downloads the object as a file to your local client.
    Note: You can download an object only from the Amazon S3 console. To copy your restored objects, you must use the AWS Command Line Interface (AWS CLI).
  4. (Optional) To permanently restore an S3 object, use the AWS CLI to change the object's storage class with. For more information, see How can use the AWS CLI to restore an Amazon S3 object from the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage class?

Note: If you receive errors when running AWS CLI commands, make sure that you're using the most recent AWS CLI version.

Related information

Amazon S3 FAQs

Restoring an archived object

AWS OFFICIAL
AWS OFFICIALUpdated 9 months ago