57 lines
6.7 KiB
Markdown
57 lines
6.7 KiB
Markdown
---
|
||
sidebar_label: 'Create an object containers'
|
||
sidebar_position: 3
|
||
---
|
||
|
||
<!-- truncate -->
|
||
import CodeBlock from '@site/src/components/CodeBloack';
|
||
|
||
# Create and manage object containers
|
||
|
||
<div className="text">OpenStack Object Storage (swift) is used for redundant, scalable data storage using clusters of standardized servers to store petabytes of accessible data. It is a long-term storage system for large amounts of static data which can be retrieved and updated.<br/><br/>
|
||
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.<br/><br/>
|
||
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.</div><br/>
|
||
|
||
<span style={{fontSize: '34px', fontFamily:'open sans'}}>Create a container</span><br/>
|
||
|
||
<div className="text"><ol><li>Log in to the dashboard.</li> <li>Select the appropriate project from the drop down menu at the top left.
|
||
</li><li>On the <span className="blue">Project tab</span>, open the <span className="blue">Object Store</span> tab and click <span className="blue">Containers</span> category.</li><li>Click <span className="blue">Container</span>.</li><li>In the <span className="blue">Create Container </span> dialog box, enter a name for the container, and then click <span className="blue">Create</span>.</li>You have successfully created a container.</ol> </div>
|
||
|
||
<div className="note"><strong>Note</strong>: To delete a container, click the More button and select Delete Container.</div><br/>
|
||
|
||
<span style={{fontSize: '34px', fontFamily:'open sans'}}>Upload an object</span><br/>
|
||
|
||
<div className="text"><ol><li>Log in to the dashboard.</li> <li>Select the appropriate project from the drop down menu at the top left.
|
||
</li><li>On the <span className="blue">Project tab</span>, open the <span className="blue">Object Store</span> tab and click <span className="blue">Containers</span> category.</li><li>Select the container in which you want to store your object.</li><li>Click the <span className="blue">Upload File</span> icon</li>The <span className="blue">Upload File To Container: <name></span> dialog box appears. <name> is the name of the container to which you are uploading the object.<li>Enter a name for the object.</li><li>Browse to and select the file that you want to upload.</li><li>Click <span className="blue">Upload File</span></li>You have successfully uploaded an object to the container.</ol></div>
|
||
|
||
<div className="note"><strong>Note</strong>: To delete an object, click the More button and select Delete Object.</div> <br/>
|
||
<span style={{fontSize: '34px', fontFamily:'open sans'}}>Manage an object</span><br/>
|
||
<span className="text"><strong>To edit an object</strong></span>
|
||
|
||
<div className="text"><ol><li>Log in to the dashboard.</li> <li>Select the appropriate project from the drop down menu at the top left.
|
||
</li><li>On the <span className="blue">Project tab</span>, open the <span className="blue">Object Store</span> tab and click <span className="blue">Containers</span> category.</li><li>Select the container in which you want to store your object.</li><li>Click the menu button and choose <span className="blue">Edit</span> from the dropdown list.<br/>The <span className="blue">Edit Object</span> dialog box is displayed.</li><li>Browse to and select the file that you want to upload.</li><li>Click <span className="blue">Update Object</span>.</li></ol></div>
|
||
|
||
<div className="note"><strong>Note</strong>: To delete an object, click the menu button and select Delete Object.</div><br/>
|
||
|
||
<span className="text"><strong>To copy an object from one container to another</strong></span>
|
||
|
||
<div className="text"><ol><li>Log in to the dashboard.</li> <li>Select the appropriate project from the drop down menu at the top left.
|
||
</li><li>On the <span className="blue">Project tab</span>, open the <span className="blue">Object Store</span> tab and click <span className="blue">Containers</span> category.</li><li>Select the container in which you want to store your object.</li><li>Click the menu button and choose <span className="blue">Copy</span> from the dropdown list.</li><li>In the <span className="blue">Copy Object</span> launch dialog box, enter the following values:<br/>
|
||
• <span className="blue">Destination Container</span>: Choose the destination container from the list.<br/>
|
||
• <span className="blue">Path</span>: Specify a path in which the new copy should be stored inside of the selected container.<br/>
|
||
• <span className="blue">Destination object name</span>: Enter a name for the object in the new container.</li><li>Click <span className="blue">Copy Object</span>.</li></ol></div><br/>
|
||
|
||
<span className="text"><strong>To create a metadata-only object without a file</strong></span>
|
||
|
||
<div className="text">You can create a new object in container without a file available and can upload the file later when it is ready. This temporary object acts a place-holder for a new object, and enables the user to share object metadata and URL info in advance.</div>
|
||
|
||
<div className="text"><ol><li>Log in to the dashboard.</li><li>Select the appropriate project from the drop down menu at the top left.</li><li>On the <span className="blue">Project tab</span>, open the <span className="blue"> Object Store</span> tab and click <span className="blue">Containers</span> category.</li><li>Select the container in which you want to store your object.</li><li>Click <span className="blue"> Upload Object</span>.<br/>The <span className="blue">Upload Object To Container:</span> <name> dialog box is displayed.<br/><name> is the name of the container to which you are uploading the object.</li><li>Enter a name for the object.</li><li>Click <span className="blue">Update Object</span>.</li></ol></div><br/>
|
||
|
||
|
||
<span className="text"><strong>To create a pseudo-folder</strong></span>
|
||
<div className="text">Pseudo-folders are similar to folders in your desktop operating system. They are virtual collections defined by a common prefix on the object’s name.</div>
|
||
|
||
<div className="text"><ol><li>Log in to the dashboard.</li><li>Select the appropriate project from the drop down menu at the top left.</li><li>On the Project tab, open the Object Store tab and click Containers category.</li><li>Select the container in which you want to store your object.</li><li>Click Create Pseudo-folder <br/>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.</li></ol></div>
|
||
|
||
|