Answers to frequent questions about CDPStorage, the S3-compatible object storage of CDPShare.<STORAGE_HOST>, <DRIVE_HOST> and <CDN_HOST> are the addresses of your own installation, for example storage.example.com, drive.example.com and cdn.example.com.
Connecting programs
Which programs can I use with CDPStorage?
Any program, script or SDK that lets you set a custom S3 endpoint, path-style addressing and Signature Version 4. Enter https://<STORAGE_HOST> as endpoint, eu-fra as region and your access key id and secret.
CDPStorage does not certify individual programs;
test your setup once with an upload and a download.
Which region do I have to enter?
Any value works, because the server derives the signing key from the region your program sends.
We recommend eu-fra, which is also the location the installation reports for every bucket.
Why does my program have to use path style?
CDPStorage expects the bucket as the first part of the path: https://<STORAGE_HOST>/<BUCKET>/<key>.
Addresses with the bucket in the host name are not supported.
In most programs the option is called "force path style" or "path-style access".
Keys and access
I lost the secret of my access key. Can it be shown again?
No. The secret is shown only once when the key is created.
Create a new key with the same scope on the page "Access keys (S3)", update your program and then remove the old key.
Can a key be limited to a single folder?
Yes.
Choose the project and enter a prefix such as invoices/.
The key then works only for object keys that start with this prefix.
You can additionally limit the rights (Read, Write, Delete), set an expiry in days and an IP allow list.
Can I make files public directly over the S3 endpoint?
No. Every request to the S3 endpoint needs a valid signature.
For a time-limited link, create a presigned URL (up to 7 days).
For public delivery use CDPCDN (https://<CDN_HOST>/<ZONE>/<path>), for personal sharing use a CDPDrive share link.
Data and limits
How large may a file be?
A single upload request may be up to 5120 MB (default of the setting max_object_mb).
Larger files are uploaded as multipart uploads with up to 10000 parts;
every part except the last must be at least 5 MB.
Can I restore a deleted object?
Yes, for 30 days (setting trash_days).
Objects deleted over S3 go to the trash of the project.
Open the project in CDPDrive, go to the trash and restore the file.
After the retention time a background job removes it permanently.
Is my data encrypted?
Yes.
Every file is encrypted on the storage nodes with its own data key, which is protected by the master key of the installation.
Customer-provided keys (SSE-C) are not supported;
if you need your own keys, encrypt the data in your program before uploading.
Are bucket versioning and object lock available?
No. A query for versioning returns an empty configuration, object lock returns "not used by CDPStorage".
Protection against accidental deletion comes from the trash;
protection against hardware failure from replication to several nodes.
Operation
What happens if the Storage module is switched off?
The S3 endpoint answers every request with HTTP 503 (ServiceUnavailable).
No data is deleted;
after switching the module on again everything works as before.
CDPDrive and CDPCDN continue to work if their modules are on.
Is there a subscription?
No. The licence is a one-time purchase per installation and names the licensed modules.