- Newest
- Most votes
- Most comments
There are two types of AWS "Glacier" services.
The first type is Amazon Glacier, which uses 'vaults' and 'archives'. It's a very slow and difficult service to use and is best avoided.
The second type is the "Glacier" storage classes available in Amazon S3. This is where you store data as normal in an S3 bucket, but you can change the Storage Class on objects to options like S3 Glacier Instant Retrieval
and S3 Glacier Deep Archive
. These are much easier to use since Amazon S3 has a nice interface and plenty of tools know how to use it. Plus, using Glacier storage classes in S3 is actually cheaper than storing directly into Glacier!
I can see from your sample command that you are using the Amazon Glacier service, so I recommend that you instead change to using S3. When uploading objects, you can specify a storage class immediately like this:
aws s3 cp foo.txt s3://bucketname/foo.txt --storage-class DEEP_ARCHIVE
The AWS CLI can handle multi-part uploads automatically for you.
Relevant content
- asked 6 years ago
- AWS OFFICIALUpdated 4 years ago
John Rotenstein, can you please elaborate on S3 to glacier being cheaper than going directly to glacier? I thought the whole point of glacier deep archive is that it costs less, and even spending one day in S3 is going to add up if you are uploading large archives every day.