Expire a Glacier Restore Early

0

If I restore a file from Glacier for 7 days, is it possible to expire the file early if I do not need all 7 days?

  • I don't think this is possible

질문됨 2년 전580회 조회
1개 답변
2
수락된 답변

Hi there,

After restoring an archived object, you can update the restoration period by reissuing the request with a new period. Amazon S3 updates the restoration period relative to the current time and charges only for the request-there are no data transfer charges. You cannot update the restoration period when Amazon S3 is actively processing your current restore request for the object.

Reference: https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html

Example: If you restore an object today 2/10/2022 with "Number of days that the restored copy is available" as **10 *days, then the object once restored, will be available till 2/20/2022. Lets say on 2/11/2022 you are done downloading that restore copy and you want to expire it, you could re-issue the restore request, but this time, you can provide * "Number of days that the restored copy is available" as 1 day as the minimum that it accepts. Now if you refresh and check the object detail, it would show as it will expire on 2/12/2022 so essentially reducing the overall length of time the restored object stays.

AWS
Adavi
답변함 2년 전
  • Thanks for the detailed explanation. Your example really helped me to gain a solid understanding.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠