What is Amazon Glacier Archives and Vaults ?
In Amazon Glacier, archives and vaults are fundamental concepts used to organize and manage your data for long-term archival. Let's explore these concepts below:
Amazon Glacier Archives:
* An archive is an individual unit of data stored within Amazon Glacier.
* Archives can be files, backups, database dumps, or any other data that you want to store in Glacier for long-term preservation.
* Each archive is uniquely identified by a unique identifier (archive ID).
* Archives in Glacier are immutable, meaning they cannot be modified once they are stored. To modify an archive, you need to create a new version of it.
Example: Imagine you want to store a collection of family photos in Amazon Glacier. Each individual photo, such as "vacation.jpg" or "birthday.jpg," would be considered an archive within Glacier.
Amazon Glacier Vaults:
* A vault is a container or storage container within Amazon Glacier that holds your archives.
* You can think of a vault as a folder or a container where you organize and manage your archived data.
* Each vault has a unique name within your AWS account, and the names must be unique globally across all AWS accounts.
Example: Suppose you have an AWS account and want to store your photo archives in Amazon Glacier. You would create a vault, such as "MyPhotoVault," to hold all your photo archives within Glacier.
Creating Vaults and Uploading Archives:
* You can create multiple vaults within your AWS account, each serving as a separate storage container for specific types of archives.
* To upload archives to Glacier, you use the AWS SDKs, APIs, or AWS Management Console. You specify the vault where you want to store the archive and provide the archive data.
* Archives can be uploaded individually or in batches.
Example: Continuing with the previous example, you would create a vault named "MyPhotoVault" in your AWS account. Then, using the AWS Management Console or SDKs, you can upload individual photo files as separate archives to the "MyPhotoVault" vault in Glacier.
Retrieving Archives:
* Retrieving archives from Glacier requires initiating a retrieval request.
* The retrieval time depends on the retrieval option chosen (e.g., expedited, standard, or bulk) and can range from minutes to several hours.
* You can retrieve individual archives or multiple archives in a single retrieval request.
Example: If you need to retrieve a specific photo from the "MyPhotoVault" vault, you would initiate a retrieval request for that particular archive. The archive would be made available for download once the retrieval process is complete.
Managing Vaults and Archives:
* Amazon Glacier provides features to manage and organize your vaults and archives effectively.
* You can use AWS Identity and Access Management (IAM) policies to control access to your vaults and archives.
* Glacier allows you to tag your vaults and archives with metadata, which can be helpful for categorization, searching, and managing your archived data.
Example: You can assign tags like "family," "vacation," or "2019" to your vaults and archives in Glacier to help categorize and organize your photo archives for easier management and retrieval.
To conclude, Amazon Glacier archives represent individual units of data stored within Glacier, while vaults act as storage containers that hold these archives. Vaults help organize and manage your archived data effectively. By creating vaults, uploading archives, and using retrieval options, you can store and retrieve your data for long-term preservation using Amazon Glacier.
Comments
Post a Comment