Uploading an Object

You can upload objects (up to 25 MB each) to a container or to a folder within a
container. To upload an object to a folder, you specify the path to the folder. If
the
folder already exists, AWS Elemental MediaStore stores the object in the folder. If
the folder
doesn’t exist, the service creates it, and then stores the object in the folder. For
more information about folders, see Working with Folders in AWS Elemental MediaStore.

You can use the AWS Elemental MediaStore console or the AWS CLI to upload objects.

On the Containers page, choose the name of
the container. The details panel for the container appears.

Choose Upload object.

For Target path, type a path for the folders. For
example, premium/canada. If any of the folders in the path
that you specify don’t exist yet, the service creates them automatically.

In the Object section, choose Browse.

Navigate to the appropriate folder, and choose one object to upload.

Choose Open, and then choose Upload.

Note

If a file with the same name already exists in the selected folder, the service replaces
the original file with the uploaded file.

To upload an object (AWS CLI)

In the AWS CLI, use the put-object command. You can also
include any of the following parameters: content-type, cache-control (to allow
the caller to control the object's cache behavior), and path (to put the object
in a folder within the container).

Note

After you upload the object, you can’t edit the content-type, cache-control, or path.