Menu
Amazon Glacier
Developer Guide (API Version 2012-06-01)

Step 3: Upload an Archive to a Vault in Amazon Glacier

In this step, you upload a sample archive to the vault you created in the preceding step (see Step 2: Create a Vault in Amazon Glacier). Depending on the development platform you are using, click one of the links at the end of this section.

Important

Any archive operation, such as upload, download, or deletion, requires that you use the AWS Command Line Interface (CLI) or write code. There is no console support for archive operations. For example, to upload data, such as photos, videos, and other documents, you must either use the AWS CLI or write code to make requests, using either the REST API directly or by using the AWS SDKs. For more information about using Amazon Glacier with the AWS CLI, go to AWS CLI Reference for Amazon Glacier. To install the AWS CLI, go to AWS Command Line Interface.

An archive is any object, such as a photo, video, or document that you store in a vault. It is a base unit of storage in Amazon Glacier. You can upload an archive in a single request. For large archives, Amazon Glacier provides a multipart upload API that enables you to upload an archive in parts. In this getting started section, you upload a sample archive in a single request. For this exercise, you specify a file that is smaller in size. For larger files, multipart upload is suitable. For more information, see Uploading Large Archives in Parts (Multipart Upload).