Atom feed of this document
  
 

 Create and manage object containers

OpenStack Object Storage provides a distributed, API-accessible storage platform that can be integrated directly into an application or used to store any type of file, including VM images, backups, archives, or media files. In the OpenStack Dashboard, you can only manage containers and objects.

In OpenStack Object Storage, containers provide storage for objects in a manner similar to a Windows folder or Linux file directory, though they cannot be nested. An object in OpenStack consists of the file to be stored in the container and any accompanying metadata.

 Create a container

  1. Log in to the dashboard, choose a project, and click Containers.

  2. Click Create Container.

  3. In the Create Container dialog box, enter a name for the container, choose if you want the access to be Private or Public.

  4. Click Create Container.

You have successfully created a container.

[Note]Note

To delete a container, click the More button and select Delete Container.

 Upload an object

  1. Log in to the dashboard, choose a project, and click Containers in the Object Store tab.

  2. Select the container in which you want to store your object.

  3. Click Upload Object.

    The Upload Object To Container: <name> dialog box is displayed. <name> is the name of the container to which you are uploading the object.

  4. Enter a name for the object.

  5. Browse to and select the file that you want to upload.

  6. Click Upload Object.

    You have successfully uploaded an object to the container.

 Manage an object

 

Edit an object

  1. Log in to the dashboard, choose a project, and click Containers in the Object Store tab.

  2. Select the container in which you want to store your object.

  3. Click More and choose Edit from the dropdown list.

    The Edit Object dialog box is displayed.

  4. Browse to and select the file that you want to upload.

  5. Click Update Object.

[Note]Note

To delete an object, click the More button and select Delete Object.

 

Copy an object from one container to another

  1. Log in to the dashboard, choose a project, and click Containers in the Object Store tab.

  2. Select the container in which you want to store your object.

  3. Click More and choose Copy from the dropdown list.

  4. In the Copy Object: launch dialog box, enter or select the following values:

    Destination Container

    Choose the destination container from the dropdown list.

    Path

    Specify a path at which the new copy should be stored inside of the selected container.

    Destination object name

    Enter a name for the object in the new container.

  5. Click Copy Object.

 

Create a metadata only object without a file

  1. Log in to the dashboard, choose a project, and click Containers in the Object Store tab.

  2. Select the container in which you want to store your object.

  3. Click Upload Object.

    The Upload Object To Container: <name> dialog box is displayed. <name> is the name of the container to which you are uploading the object.

    You can create a new object in container without a file available and can upload the file later when it is ready. This works like a place-holder for a new object to allow user to flexibly share object metadata and URL info in advance.

  4. Enter a name for the object.

  5. Click Update Object.

 

Create a pseudo-folder

  1. Log in to the dashboard, choose a project, and click Containers in the Object Store tab.

  2. Select the container in which you want to store your object.

  3. Click Create Pseudo-folder.

    The Create pseudo-folder in container <name> dialog box is displayed. <name> is the name of the container to which you are uploading the object.

  4. Enter a name for the pseudo-folder.

    Pseudo-folders behave similarly to folders in your desktop operating system, with the exception that they are virtual collections defined by a common prefix on the object's name.

    A slash (/) character is used as the delimiter for pseudo-folders in the Object Store.

  5. Click Create.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...