How to Use S3 Glacier Deep Archive Storage Class [3 Methods]

If you have data that you don't need to access frequently but still want to keep secure, Glacier Deep Archive is the way to go. Let's dive into what it is, why it's important, and how you can get started.

Crystal

By Crystal / Updated on April 30, 2024

Share this: instagram reddit

What is Amazon S3 Glacier Deep Archive?

Amazon S3 Glacier Deep Archive, commonly referred to as just "Deep Archive," is a storage class within Amazon's Simple Storage Service (S3). It’s designed for data that you need to keep but don’t need to access often. Think of it as a super-secure, super-low-cost data vault in Amazon S3 Archive.

When it comes to archiving, cost and security are two critical factors. S3 Glacier Deep Archive excels in both.

  • Lower Cost for Archiving: S3 Glacier Deep Archive is one of the cheapest storage options within AWS, making it perfect for large volumes of data that don't require frequent access.
  • Long-Term Storage Solutions: If you need to keep data for years, even decades, Glacier Deep Archive is built for that.
  • High Durability and Security: Glacier Deep Archive offers 11 nines of durability (99.999999999%). It also has strong security features, including encryption at rest and in transit.

Amazon S3 Glacier Deep Archive Storage Class

Amazon Glacier Deep Archive offers more secure and durable long-term storage at a competitive price, rivaling off-site tape archival services than Amazon S3 Glacier. Data is spread across at least three AWS Availability Zones, with retrieval times of 12 hours or less. This eliminates the need for costly tape drives, off-site storage, or complex data migrations.

Your existing S3-compatible tools, scripts, and lifecycle rules can integrate with Glacier Deep Archive. You can set this storage class when uploading new objects, change the storage class for existing objects manually or programmatically, or use lifecycle rules to transition objects to Glacier Deep Archive based on age. You can also utilize other S3 features like Storage Class Analysis, Object Tagging, Object Lock, and Cross-Region Replication for comprehensive data management.

How to Use S3 Glacier Deep Archive Storage Class [3 Methods]

Here are 3 methods to move data into S3 Glacier Deep Archive, using S3 AWS Management Console, Lifecycle Rules and CLI.

Using Glacier Deep Archive Storage on AWS Console

By following these steps, you can effectively switch the storage class of an existing S3 object to Glacier Deep Archive using the S3 Console.

1. Locate the file and click Properties > Storage class.

Use Glacier Deep Archive on AWS Console

2. Select Glacier Deep Archive and click Save.

Select Glacier Deep Archive

3. After making the change, confirm that the storage class has been updated to Glacier Deep Archive.

📢 Note: This change may take some time to propagate, especially if there are many objects or if other processes are running on the S3 bucket.

Using Glacier Deep Archive Storage – Lifecycle Rules

To automate transitions to Glacier Deep Archive, consider setting up lifecycle policies. This can be especially useful for large-scale data management.

1. Click Management tab.

2. Select Add lifecycle rule and set up as following.

  • Give your rule a unique name.
  • Specify if you want the rule to apply to all objects in the bucket, or only to objects with a specific prefix or tag.
  • Select Current version and choose "Transition to Glacier Deep Archive 30 days after".

Create Lifecycle Rules

Using S3 Glacier Deep Archive – CLI / Programmatic Access

1. Use the CLI to upload a new object and set the storage class:

$ aws s3 cp new.mov s3://awsroadtrip-videos-raw/ --storage-class DEEP_ARCHIVE

2. Change the storage class of an existing object by copying it over itself:

$ aws s3 cp s3://awsroadtrip-videos-raw/new.mov s3://awsroadtrip-videos-raw/new.mov --storage-class DEEP_ARCHIVE

FAQs on S3 Glacier Deep Archive

Q: How much does S3 Glacier Deep Archive cost?

A: It's among the cheapest storage options on AWS, with low per-gigabyte rates. Costs depend on data volume, retrieval frequency, and retrieval size. Additional fees apply for expedited retrievals.

Q: How secure is my data in S3 Glacier Deep Archive?

A: Data in Glacier Deep Archive is encrypted at rest and in transit. AWS provides additional security through Identity and Access Management (IAM), access controls, and server-side encryption. The service also offers audit logs and monitoring.

Q: How quickly can I retrieve data from Glacier Deep Archive?

A: Standard retrievals take 3–5 hours, while expedited retrievals (for a fee) can take 1–5 minutes. Bulk retrievals, designed for large data sets, can take 5–12 hours.

Q: What file types can be stored in S3 Glacier Deep Archive?

A: You can store any file type, including text documents, images, videos, and large data sets. This flexibility makes it suitable for a wide range of storage needs.

Conclusion

Here are 3 methods for you to move data to S3 Glacier Deep Archive in AWS, ensuring it's stored in a more cost-effective manner. It's ideal for long-term storage and infrequent access, unlike S3 Standard or S3 Intelligent-Tiering, which offer faster access but at a higher cost.

Crystal
Crystal · Editor
Crystal is an editor from AOMEI Technology. She mainly writes articles about virtual machine. She is a positive young lady likes to share articles with peolpe. Off work she loves travelling and cooking which is wonderful for life.