Welcome to the new Amazon S3 User Guide! The Amazon S3 User Guide combines information and instructions from the three retired guides: Amazon S3 Developer Guide, Amazon S3 Console User Guide, and Amazon S3 Getting Started Guide.
Restoring an archived object
You can restore an archived object using the Amazon S3 console, the REST API, the AWS SDKs, and the AWS CLI.
When you restore an archive, you are paying for both the archive and a copy that you
restored temporarily. For information about pricing, see Amazon S3 pricing
This section explains how to use the Amazon S3 console to restore an object that has been archived to the S3 Glacier or S3 Glacier Deep Archive storage classes. Objects stored in the S3 Glacier or S3 Glacier Deep Archive are not immediately accessible. To access an object in this class, you must restore a temporary copy of it to its S3 bucket for the duration (number of days) that you specify. For information about the S3 Glacier or S3 Glacier Deep Archive storage classes, see Managing your storage lifecycle.
When you restore an archive, you pay for both the archive and the restored copy. Because
there is a storage cost for the copy, restore objects only for the duration you need
them. If
you want a permanent copy of the object, create a copy of it in your S3 bucket. For
information
about Amazon S3 features and pricing, see Amazon S3
pricing
After restoring an object, you can download it from the Object overview page. For more information, see Viewing an object overview in the Amazon S3 console.
Use the following steps to restore an object that has been archived to the S3 Glacier or S3 Glacier Deep Archive storage classes. (The console uses the names Glacier and Glacier Deep Archive for these storage classes.)
-
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the Buckets list, choose the name of the bucket that contains the objects that you want to restore.
-
In the Objects list, select the object or objects that you want to restore, choose Actions, and then choose Initiate restore.
-
If you're restoring from S3 Glacier or S3 Glacier Deep Archive, enter the number of days that you want your archived data to be accessible in the Initiate restore dialog box.
-
In Retrieval options, do one of the following:
-
Choose Bulk retrieval or Standard retrieval, and then choose Restore.
-
Choose Expedited retrieval (available only for S3 Glacier or S3 Intelligent-Tiering Archive Access).
-
-
Provisioned capacity is only available for objects in S3 Glacier. If you have provisioned capacity, choose Restore to start a provisioned retrieval.
If you have provisioned capacity, all of your expedited retrievals are served by your provisioned capacity. For more information, see Provisioned capacity.
-
If you don't have provisioned capacity and you don't want to buy it, choose Restore.
-
If you don't have provisioned capacity, but you want to buy it, choose Add capacity unit, and then choose Buy. When you get the Purchase succeeded message, choose Restore to start provisioned retrieval.
-
Upgrading an in-progress restore
You can upgrade the speed of your restoration while it is in progress.
To upgrade an in-progress restore to a faster tier
-
Open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the Bucket name list, choose the name of the bucket that contains the objects that you want to restore.
-
In the Objects list, select one or more of the objects that you are restoring, choose Actions, and then choose Restore from Glacier. For information about checking the restoration status of an object, see Check archive restore status and expiration date.
-
Choose the tier that you want to upgrade to, and then choose Restore.
For information about upgrading to a faster restore tier, see Upgrading the speed of an in-progress restore.
Note Standard and bulk restores for S3 Intelligent-Tiering are free of charge. However, subsequent restore requests called on an object that is already being restored are billed as a GET request.
Check archive restore status and expiration date
To check the progress of the restoration, see the object overview in the console. For more information, see Viewing an object overview in the Amazon S3 console.
The Object overview shows that the restoration is In progress.
If you're restoring from S3 Glacier or S3 Glacier Deep Archive, the temporary copy of the Object overview shows the Restoration expiry date. Amazon S3 will remove the restored copy of your archive on this date.
Restored objects from S3 Glacier or S3 Glacier Deep Archive are stored only for the number of days that you specify. If you want a permanent copy of the object, create a copy of it in your Amazon S3 bucket.
Amazon S3 calculates the expiry date by adding the number of days that you specify
to the time
you request to restore the object, and then rounding to the next day at midnight UTC.
This
calculation applies to the initial restoration of the object and to any extensions
to
availability that you request. For example, if an object was restored on Oct 15, 2012
10:30 AM
UTC, and the number of days that you specified is 3, the object is
available until Oct 19, 2012 00:00 UTC. If, on Oct 16, 2012 11:00 AM UTC, you change
the
number of days that you want it to be accessible to 1, Amazon S3 makes the
restored object available until Oct 18, 2012 00:00 UTC.
After restoring an object, you can download it from the Overview page. For more information, see Viewing an object overview in the Amazon S3 console.
Amazon S3 provides an API for you to initiate an archive restoration. For more information, see POST Object restore in the Amazon Simple Storage Service API Reference.