

 **此頁面僅適用於使用 Vaults 和 2012 年原始 REST API 的 Amazon Glacier 服務的現有客戶。**

如果您要尋找封存儲存解決方案，建議您在 Amazon Glacier Instant Retrieval、S3 Glacier Flexible Retrieval 和 S3 Glacier Deep Archive 中使用 Amazon Glacier 儲存類別。 Amazon S3 若要進一步了解這些儲存選項，請參閱 [Amazon Glacier 儲存類別](https://aws.amazon.com/s3/storage-classes/glacier/)。

Amazon Glacier （原始獨立保存庫型服務） 不再接受新客戶。Amazon Glacier 是一項獨立服務，具有自己的 APIs，可將資料存放在保存庫中，並與 Amazon S3 和 Amazon S3 Glacier 儲存類別不同。您現有的資料將在 Amazon Glacier 中無限期保持安全且可存取。不需要遷移。對於低成本、長期的封存儲存， AWS 建議使用 [Amazon S3 Glacier 儲存類別](https://aws.amazon.com/s3/storage-classes/glacier/)，透過 S3 儲存貯體型 APIs、完整 AWS 區域 可用性、降低成本 AWS 和服務整合，提供卓越的客戶體驗。如果您想要增強功能，請考慮使用我們的解決方案指南，將資料從 Amazon S3 Glacier 保存庫傳輸至 Amazon S3 Glacier 儲存類別，以遷移至 Amazon S3 Glacier 儲存類別。 [AWS Amazon Glacier Amazon S3 ](https://aws.amazon.com/solutions/guidance/data-transfer-from-amazon-s3-glacier-vaults-to-amazon-s3/)

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 步驟 5：從 Amazon Glacier 中的保存庫刪除封存
<a name="getting-started-delete-archive"></a>

在此步驟中，您將刪除在 [步驟 3：將封存上傳至 Amazon Glacier 中的保存庫](getting-started-upload-archive.md) 中上傳的範例封存。

**重要**  
您無法使用 Amazon Glacier 主控台刪除封存。任何封存操作，例如上傳、下載或刪除，都需要您使用 AWS Command Line Interface (CLI) 或寫入程式碼。若要上傳資料，例如相片、影片和其他文件，您必須直接使用 REST API AWS CLI 或使用 AWS SDKs，使用 或 撰寫程式碼來提出請求。  
若要安裝 AWS CLI，請參閱 [AWS Command Line Interface](https://aws.amazon.com/cli/)。如需搭配 使用 Amazon Glacier 的詳細資訊 AWS CLI，請參閱 [AWS CLI Amazon Glacier 的參考](https://docs.aws.amazon.com/cli/latest/reference/glacier/index.html)。如需使用 AWS CLI 將封存上傳至 Amazon Glacier 的範例，請參閱[搭配使用 Amazon Glacier 與 AWS Command Line Interface](https://docs.aws.amazon.com/cli/latest/userguide/cli-using-glacier.html)。

刪除範例封存檔，請遵循下列其中一個開發套件或 AWS CLI：
+ [使用 從 Amazon Glacier 中的保存庫刪除封存 適用於 Java 的 AWS SDK](getting-started-delete-archive-java.md)
+ [使用 從 Amazon Glacier 中的保存庫刪除封存 適用於 .NET 的 AWS SDK](getting-started-delete-archive-dotnet.md)
+ [使用 在 Amazon Glacier 中刪除封存 AWS CLI](getting-started-delete-archive-cli.md)

## 相關章節
<a name="getting-started-delete-archive-related-sections"></a>

 
+ [步驟 3：將封存上傳至 Amazon Glacier 中的保存庫](getting-started-upload-archive.md)
+ [在 Amazon Glacier 中刪除封存](deleting-an-archive.md)