Using Object Storage on OPCP
Find out how to get S3 access keys, create buckets and upload objects with the Object Storage service in the OPCP Cloud Console and with the S3 API
Alpha version — This guide documents the alpha version of Cloud Store. Features, interfaces and procedures will change until general availability (GA), and this guide will be updated along with them.
Objective
This guide shows Organization users how to get S31 access keys, create buckets and upload objects with the Object Storage service, in its web interface and with the S3 API.
Requirements
- Access to the OPCP Cloud Console, as described in the guide OPCP Cloud Console.
- The Object Storage service enabled for your Organization by your IT Admin, as described in the guide Deploying Object Storage on OPCP.
- An S3 client to use the S3 API, for example the AWS CLI, S3cmd or Cyberduck.
Instructions
What the service offers in the Alpha
You manage these resources in the web interface of the service, or with any S3 client.
Opening the service
In the sidebar of the OPCP Cloud Console, open the service. It appears under the name your IT Admin gave it when enabling it for your Organization.
The Console link in the header of the service, also shown in its Overview tab, opens the web interface of Object Storage in a new browser tab. This guide describes this interface.
The web interface has three tabs:
Getting S3 access keys
An access key is a pair of values, an access key and a secret key, that S3 clients use to authenticate.
-
Open the
Access Keystab and clickRequest new Access Key. -
Optionally, give the key a name that tells where you use it.
-
Click
Request new Access Key. -
Copy the Access Key and the Secret Key, then click
Copy Secret & Close.WarningThe secret key is shown only once and cannot be retrieved afterwards. Store it in a safe place. If you lose it, revoke the key and create a new one.
To revoke a key, click its delete icon in the list of access keys. Applications that use it can no longer access your buckets.
Every access key gives full access to all buckets of your Organization.
Connection details
S3 clients need three values:
Both URL styles work: https://s3.object-storage-<id>.<your domain>/<bucket> and https://<bucket>.s3.object-storage-<id>.<your domain>.
Creating a bucket and uploading objects in the web interface
-
Open the
Bucketstab and clickCreate bucket. -
Enter a Bucket name. Use only lowercase letters, numbers, full stops or dashes. Bucket names are unique across the whole platform, so your choice may already be taken.
-
Click
Create bucket. -
Open the bucket. Drag and drop files into it, or use
Upload filesorUpload folders. UseCreate folderto organise your objects.
In the bucket, the menu of each object lets you download, copy, move, rename or delete it, change its settings, or create a Signed URL: a temporary link, valid from 5 minutes to 1 week, that gives access to the object without credentials.
Creating a bucket and uploading objects with the S3 API
The examples below use the AWS CLI. If your platform uses its own certificate authority, add --ca-bundle <file with the certificate of the authority> to each command. Your IT Admin can give you that certificate.
-
Configure the AWS CLI with your access key:
-
Create a bucket and upload an object:
The Connect tab describes how to set up Cyberduck and S3cmd with the same values.
Bucket settings
Open a bucket and choose Settings to configure it:
Static Website Hosting makes all current and future objects of the bucket publicly accessible to anyone who can reach the platform, without credentials.
Which S3 features work in the Alpha
The service is built on Ceph RGW, which supports most of the S3 API. The web interface of the service relies on the following features:
- Creating, listing and deleting buckets and objects, multipart uploads.
- Bucket versioning and lifecycle rules.
- Static website hosting.
- Presigned URLs.
For the differences between Object Storage on OPCP and in OVHcloud regions, see Object Storage features and specifications on OPCP.
Known limitations
The Alpha has the following known limitations:
The following features are not available in the Alpha:
- Encryption of objects with keys managed by the platform (SSE-S3, SSE-KMS).
- Quotas and usage reporting per Organization.
- Access policies per user.
Go further
Deploying Object Storage on OPCP
Object Storage features and specifications on OPCP
For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.
Join our community of users.
1: S3 is a trademark of Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.