Glacier » History » Revision 3
Revision 2 (Peter Amstutz, 08/03/2020 08:28 PM) → Revision 3/6 (Peter Amstutz, 08/03/2020 09:00 PM)
h1. Glacier
Amazon also calls them "storage classes" and they appear to function somewhat similarly.
https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html
https://docs.aws.amazon.com/sdk-for-go/api/service/s3/
Can do PutObject directly to Glacier or you can use CopyObject to change the storage class of an existing object from "standard" to "glacier". (The docs are unclear but I guess you copy the object to itself?)
https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-howtoset
Objects in Glacier do appear in index listing.
Returns a 403 error if you try GetObject on an archived object.
Use RestoreObject to make it available for GetObject on a temporary basis (you specify number of days in the request).
Unclear from documentation if you can use CopyObject to change the storage class back to "standard" after being restored.
https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html
Use S3 Batch operation to operate on many objects at once.