6. S3 Object Storage

In this area you manage your S3 objects (buckets, files) including the project and panel user permissions and S3 EC2 credentials (access key and secret).

6.1. Overview S3 Management

The following image illustrates the objects that you can manage in the Cloud Service Portal under S3 Object Storage. The structure refers to a project. If required, you can create and manage several projects.

To be able to use S3, you need at least:

  • one project
  • a user with S3 Panel permissions
  • EC2 Credentials (API & Secred Key)
  • one Bucket
../_images/cp-ui-client-s3-overview.png
Legend Overview S3 Management
Element Description
  1. Project
Permissions, buckets and EC2 credentials always belong to a project.
  1. Client Admin
The Client Admin is a user with extended rights and manages the projects and users and regulates their authorization.
  1. Client User
The client user sees the projects and buckets for which he has been authorized.
  1. Project EC2 Credentials
Access to buckets within a project is authorized via so-called EC2 credentials [1].
  1. Bucket
Buckets [2] is like a collection container for the objects (files) that are to be stored in the Object Storage.
  1. Objects
In the S3 Object Storage Panel single files can be uploaded or downloaded [3].
  1. Bucket2
You can create multiple buckets to better organize objects.
[1]An EC2 credential consists of an API and Secret Key and belongs to the project. You can create multiple EC2 credentials per project. Through access via EC2 credentials, all buckets in a project are always visible. It is also possible to use user-bound EC2 credentials.
[2]Any number of buckets can be created in a project as part of fair usage.
[3]Larger amounts of data are usually loaded with an external tool (e.g. S3 Explorer or S3 CLI).

6.2. Manage S3 Dashboard Permissions

In order for a user to access the S3 Dashboard, the necessary permissions must first be granted.

  • To do this, navigate to S3 Object Storage on the left and then to Manage permissions.
../_images/cp-ui-client-s3-manage-permissions0.png

Note

The user permission to the S3 panel is independent from the permissions to a project or bucket. If you do not have this menu item, please contact your reseller support.

  • Now please click on the Manage user button on the right side of the corresponding project
../_images/cp-ui-client-s3-manage-permissions10.png
  • Now set the desired permissions for this user depending on the task and then click update.

6.3. Overview S3 Dashboard

The following image illustrates the structure of the elements that you can manage in the Cloud Service Portal under S3 Dashboard.

../_images/cp-ui-client-s3-dashboard-overview.png
Legend Overview S3 Management
Element Description
Project Ebene (1) Isolated group of Project permissions (4), buckets (2), and EC2 credentials (3).
Bucket Level (2) List of buckets of this project
EC2 Credentials (3) Management of the EC2 credentials that belong to this project.
Users (4) Management of the user permissions for this project.

As soon as you click on a project (1) and then on a bucket (2), the bucket objects (if available) and further features (3) such as MPUs (Multi Part Uploads) are displayed.

Note

MPU - After you initiate a multipart upload (MPU) and upload one or more parts, they will be listed in the MPUs TAB. You must either complete or stop the multipart upload to stop being charged for the uploaded parts. Only after you have either completed or stopped a multi-part upload will S3 release the part storage and no longer charge you for the part storage.

../_images/cp-ui-client-s3-dashboard-overview2.png
Legend S3 Bucket Details
Element Description
Project (1) Selected Project with Bucket (2)and Object List
Feature TAB’s (3) Objects TAB with the objects and MPU TAB with the list of incomplete multipart uploads
Object details (4) By clicking on the Properties column (4) of an object, further details of the object are displayed
Buttons (5) With the help of the “Upload file” and “Create Folder” buttons (5) further objects can be created in this bucket.

6.4. Create Project

To manage your buckets, users, and EC2 credentials, first create a project. Multiple buckets, users, and EC2 credentials can be managed in one project.

Note

Your reseller may have already created a project for you and you can proceed directly to creating credentials.

Within the scope of fair use, you can create several projects depending on the order.

  • To do this, navigate to S3 Object Storage on the left and then to Buckets.
../_images/cp-ui-client-s3-manage-project1.png
  • Now please click on the Create Project button
  • Now enter a project name and a description.
  • Please select object-storage [4] as quota profile.
  • Then click on the Create button
[4]Profile object-storage - This special quota profile contains only #Projects quotas to avoid accidental usage of other resources (e.g. CPU, RAM).
../_images/cp-ui-client-s3-manage-project2.png
  • The project has been created and is displayed in the list.
  • Now grant the user permissions for this project.

Note

A note appears stating that you still need to create a credential for this project before you can create a bucket.

6.5. Manage Project User

If you are authorized to create and manage projects yourself, you can create additional users and authorize them for projects. This authorization is not necessary for access to a bucket.

To create a user or to authorize an existing user to one or more projects, please proceed as follows.

  • To do this, navigate to S3 Object Storage on the left and then to Buckets.
  • First click on the project (1) for which you would like to grant a user authorization
  • Next, please click on the Users TAB (2) on the right
  • Now click on Edit roles (3) on the right side of the line of the corresponding user.
../_images/cp-ui-client-s3-manage-project-users.png
  • Now tick the s3 box and confirm with the create button
  • With the button Create User you can directly create a new user.

6.6. Create EC2 Credentials

Before you can create buckets, you must have created at least one EC2 credential.

  • To do this, navigate to S3 Object Storage on the left and then to Buckets.
  • First click on the project (1) for which you want to create an EC2 credential
  • Then click on the right TAB the Create Credentials button
../_images/cp-ui-client-create-ec2-credentials.png
  • The created EC2 credentials are displayed
  • Enter a description for the use of these credentials
  • If you are authorized [5], you can also create user bound EC2 credentials with the flag is user credentials
  • Complete your entry and click create
[5]To create user-bound EC2 credentials, you must have successfully logged in to the OpenStack Management Portal in advance. If this requirement is not met, the User Credential option will not appear.
../_images/cp-ui-client-create-ec2-credentials2.png
  • The EC2 credential has been created for this project and is displayed in the list.
../_images/cp-ui-client-create-ec2-credentials3.png
  • A) Access and Secred Key - Click on the eye icon to display it.
  • B) Source - Indicates whether this is a User [6] or Project bound EC2 credential.
  • C) Selected - Indicates with which EC2 credential the S3 objects are queried in the Cloud Service Portal. You can specify this with the action button F) Select Credentials.
  • D) Selected - Description of the EC2 Credential
  • E) Copy_to_clipboard - By clicking on this column, the API and Secred Key will be copied to the clipboard.
  • F) Actions - see C). By clicking on the arrow, the selection for deleting the EC2 credential appears.
[6]Only the user bound EC2 credentials of the logged in user are displayed!
  • Now create your bucket.

6.7. Create Bucket

To create a bucket, please proceed as follows.

  • To do this, navigate to S3 Object Storage on the left and then to Buckets.
  • First click on the project (1) in which you want to create a bucket
  • Now please click on the Create Project button
../_images/cp-ui-client-create-buckets.png
  • Enter a name and click create
../_images/cp-ui-client-create-buckets1.png

Note

Please note the restrictions on the bucket name.

6.7.1. Restrictions bucket names

In general, bucket names should follow the restrictions for domain names.

  • Bucket names can contain lowercase letters, numbers, and hyphens. Each label must begin and end with a lowercase letter or number.
  • Bucket names must be unique.
  • Bucket names cannot be formatted as IP addresses.
  • Bucket names can be between 3 and 63 characters long.
  • Bucket names must not contain capital letters or underscores.
  • Bucket names must begin with a lowercase letter or number.

6.8. Upload Files

After you have created a bucket, you can now upload or download individual files in the S3 panel.

  • To do this, navigate to S3 Object Storage on the left and then to project then to the Bucket.
  • Then click on right the Upload File button(3)
../_images/cp-ui-client-bucket-manage-bucket.png
  • Then click on the Upload File button
  • An input window appears in which you can select a file from your local file system by clicking on Choose File (1).
../_images/cp-ui-client-bucket-upload-file2.png
  • By clicking on Upload (2) the selected file will be uploaded.
  • A progress bar shows the status of the charging process.

6.9. Download File

After you have created a bucket and uploaded files, you can now download individual files in the S3 panel.

  • To do this, navigate to S3 Object Storage on the left and then to the project (1), then to the Bucket (2) you wish.
  • Now click in the list on the file name, which will start the Download.

Note

Depending on the settings of your browser, the file will be downloaded or displayed, or in the case of an MP4 file played.

../_images/cp-ui-client-bucket-download-file.png
  • The file will be placed in your download directory.

Note

Larger amounts of data are usually uploaded or downloaded using an external tool (e.g. S3 Explorer or S3cmd).