Upload to glacier from the user’s instance
Step 1: First go to the search bar and search “S3 GLACIER”.THEN click on “create vault” to create a new vault.
Step 2: Now give a name to your vault and check the boxes shown in the figure.
THEN click on the “CREATE VAULT” option.
And now you have successfully created a vault.
Step 3: Again go to the search bar and search ” Simple Notification Service” and on your left click on “Topics”.
NOTE: For further steps of uploading an archive you must have “AWS CLI” installed on your computer.
Now open the command line and write a command to create a vault
This below command will create a vault with the name ‘my vault’:
aws glacier create-vault --vault-name my vault --account-id -
Command to upload a file in the vault:
aws glacier upload-archive --account-id - --vault-name my vault --body ONE.txt
ONE.txt is the name of the file to be uploaded on the vault and you can use the same command for uploading files for other files.
How to Upload Archive Data to the Amazon S3 Glacier?
Pre-requisites: AWS
Amazon S3 is an object storage service that stores data as objects within buckets. A bucket is like a folder available in S3 that stores the files. Amazon S3 provides many features such as Storage class, Storage Management, Access Management, and many more. Amazon S3 glacier is one of the S3 storage classes.