S3 Compatibility
StorONE object stores implement the Amazon S3 API. This page lists what third-party applications can rely on, what isn't supported, and the naming rules for buckets and objects. Check it when you connect an application that hasn't been used with StorONE before.
Connecting
- Path-style addressing:
http(s)://<floating IP>:<port>/<bucket>/<key>(see Connecting an S3 client). - Authentication: access key and secret key, with AWS Signature Version 4 or 2. Presigned URLs work with both.
- HTTPS: a built-in self-signed certificate, so clients must skip certificate verification (see HTTPS). Client certificates aren't used.
Supported operations
| Area | Operations |
|---|---|
| Buckets | Create, delete, list, head, get location |
| Objects | Put, get, head, delete, delete multiple, copy, get attributes |
| Multipart uploads | Create, upload part, upload part by copy, complete, abort, list parts, list uploads |
| Listing | ListObjects (V1 and V2), ListObjectVersions |
| Versioning | Get and set the bucket's versioning state; read, list, and delete specific versions |
| Object Lock | Bucket Object Lock configuration, object retention, legal hold |
| Tagging | Object and bucket tags (changing tags needs an Admin key) |
| Other | Presigned URLs, browser POST uploads, CORS configuration |
Which key may use which operation is described in Access key roles.
Not supported
- Lifecycle transitions. Rules that move objects to another storage class are rejected with
NotImplemented. - Bucket replication and static website hosting. They can't be configured. To replicate a store, use StorONE replication.
- Bucket logging, event notifications, and transfer acceleration. They can't be configured.
- S3 Select (
SelectObjectContent). - Creating buckets implicitly. Writing to a bucket that doesn't exist returns
NoSuchBucket; create buckets first with an Admin key. - Deleting a non-empty bucket in one step. The bucket must be empty, or the request returns
BucketNotEmpty(see Deleting a bucket). - Per-bucket access for access keys. A key can use every bucket of the stores it's granted to. Use separate stores, or IAM users with bucket policies, to keep clients apart (see Object storage security).
If an application needs a feature that isn't listed under Supported operations, test it against a store before you go into production.
Bucket names
A bucket name must:
- be 3 to 63 characters long;
- contain only lowercase letters, numbers, dots (
.), and hyphens (-); - begin and end with a letter or a number;
- not contain two dots in a row;
- not look like an IP address (for example
192.168.1.10); - not begin with
xn--or end with-s3alias.
Object keys
- A key can be at most 1024 bytes long (in UTF-8). Longer keys are rejected with
KeyTooLongError. - Keys are normalized before they're stored:
- a backslash (
\) becomes a slash (/); - a double slash (
//) becomes a single slash, soa//banda/bare the same object; - a slash at the start of the key is removed.
- a backslash (
- Keys with a
.or..path segment (such asa/./bor../b), or with a NUL character, are rejected withInvalidRequest. .uploadsand names ending in.versionsare used internally. Don't use them as path segments in keys.
Applications that rely on keys being stored exactly as sent, including double slashes or a leading slash, may not find their objects again. Check such applications with a test before you use them.
Multipart uploads
| Limit | Value |
|---|---|
| Part numbers | 1 to 10,000 |
| Minimum part size | 5 MiB, for every part except the last. Smaller parts are rejected with EntityTooSmall when the upload is completed. |
| Parts or uploads returned per list request | Up to 10,000 |
Next: Object versioning
No comments to display
No comments to display