Ceph 对象网关的 S3 兼容 API
Ceph 支持 REST 风格的 API ,它与亚马逊 S3 API 的基本数据访问模型兼容。
API
- 通用
- 认证
- 服务操作
- Bucket 操作
- 对象操作
- C++
- C#
- Java
- Perl
- PHP
- Python
- Ruby AWS::SDK 样例 (aws-sdk gem ~>2)
- Ruby AWS::S3 样例 (aws-s3 gem)
功能支持情况
下面的表格列出了对亚马逊 S3 的功能支持情况:
Feature | Status | Remarks |
---|---|---|
List Buckets | Supported | |
Delete Bucket | Supported | |
Create Bucket | Supported | Different set of canned ACLs |
Bucket Lifecycle | Not Supported | |
Policy (Buckets, Objects) | Not Supported | ACLs are supported |
Bucket Website | Not Supported | |
Bucket ACLs (Get, Put) | Supported | Different set of canned ACLs |
Bucket Location | Supported | |
Bucket Notification | Not Supported | |
Bucket Object Versions | Supported | |
Get Bucket Info (HEAD) | Supported | |
Bucket Request Payment | Not Supported | |
Put Object | Supported | |
Delete Object | Supported | |
Get Object | Supported | |
Object ACLs (Get, Put) | Supported | |
Get Object Info (HEAD) | Supported | |
POST Object | Supported | |
Copy Object | Supported | |
Multipart Uploads | Supported | (missing Copy Part) |
不支持的 Header 字段
下列的通用请求头部字段尚不支持:
Nam | Type |
---|---|
x-amz-security-token | Request |
Server | Response |
x-amz-delete-marker | Response |
x-amz-id-2 | Response |
x-amz-version-id | Response |