Set S3 Glacier vault's storage class

0

How do i set the storage class of an S3 Glacier vault (to deep archive)?

Gerco
feita há um ano497 visualizações
1 Resposta
2

Amazon S3 Glacier vaults can only be stored in a single Storage Class for a cost of $0.0036 per GB/Month in the N. Virginia region.

For an enhanced Amazon S3 Glacier experience, you can use the Amazon Simple Storage Service (S3) console instead of the Amazon S3 Glacier service. Accessing and using the Amazon Simple Storage Service (S3) Glacier storage classes through the Amazon S3 APIs and Amazon S3 console provides enhanced functionality for data management and cost optimization. This is where you can find Deep Archive storage class.

For more information about Amazon S3 Storage Classes, please refer to the following links:

https://aws.amazon.com/s3/pricing/ https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-glacier https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-compare

You would have to download all your data from your Amazon S3 Glacier vault and then upload the data to an Amazon S3 bucket. You can use an EC2 instance with a S3 VPC Endpoint to eliminate any out-of-region data transfer charges. You can configure the data to be stored in the Deep Archive storage class during the upload using parameters in your SDK or CLI request. You can also configure the data to be moved to the Deep Archive storage class after being uploaded via a Lifecycle Policy or the S3 Console.

For more information about setting the storage class of an object, please refer to the following links: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-howtoset

Example AWS CLI request to upload a single object to the Amazon S3 Glacier Deep Archive storage class:

$ aws s3 cp downloads\glacierVault\test.txt s3://mybucket/test.txt --storage-class DEEP_ARCHIVE

Example AWS CLI request to upload an entire directory to the Amazon S3 Glacier Deep Archive storage class:

$ aws s3 cp downloads\glacierVault\ s3://mybucket/glacierVault/ --recursive --storage-class DEEP_ARCHIVE

For more information about the above CLI commands, please refer to the following links: https://awscli.amazonaws.com/v2/documentation/api/2.0.34/reference/s3api/put-object.html https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html

To retrieve an object that is stored in the Deep Archive storage class, refer to the following links:

https://repost.aws/knowledge-center/restore-s3-object-glacier-storage-class https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html

profile pictureAWS
respondido há um ano
profile pictureAWS
ESPECIALISTA
Chris_G
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas