0
votes

I have migrated my large set of files from s3 storage class to Glacier storage class via a lifecycle policy due to the cost optimization. When i try to download the file from AWS Console it asks me to restore them first. The files will be available to download based on the mode we chose when we are performing restoration. If it is "Expedited" mode it will be restored within 1-5 mins. But my concern is, Can't we directly download them with AWS SDK for python or nodejs ?

1

1 Answers

1
votes

No.

Amazon S3 objects in a Glacier storage class are not available for download. They must first be restored, regardless of access method.

Once restored they can be downloaded like normal S3 objects.

See: Restoring an archived object - Amazon Simple Storage Service