Jump to: navigation, search

Difference between revisions of "Swift/APIFeatureComparison"

(Amazon S3 REST API Compatability)
(Amazon S3 REST API Compatability)
Line 154: Line 154:
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUT.html PUT Bucket]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUT.html PUT Bucket]  
 
|  /!\  
 
|  /!\  
| X  
+
| X 7
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTacl.html PUT Bucket acl]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTacl.html PUT Bucket acl]  
Line 188: Line 188:
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|}
 
|}
 +
  
 
5. This version of Amazon API supports access to buckets using a subdomain (i.e. bucket.s3.amazonaws.com), whereas [[OpenStack]] Swift3 relies on a sub-directory (eg swift.domain/bucket), which renders some tools hardcoded to use "new style" buckets unable to contact Swift in the right way, despite its ability to support correct responses.
 
5. This version of Amazon API supports access to buckets using a subdomain (i.e. bucket.s3.amazonaws.com), whereas [[OpenStack]] Swift3 relies on a sub-directory (eg swift.domain/bucket), which renders some tools hardcoded to use "new style" buckets unable to contact Swift in the right way, despite its ability to support correct responses.
  
 
6. Handles GET Bucket location, but there is not support for PUT location different to “US”
 
6. Handles GET Bucket location, but there is not support for PUT location different to “US”
 +
 +
7. https://bugs.launchpad.net/swift3/+bug/1382137
  
 
Amazon S3 Object operations are referenced [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketOps.html here]
 
Amazon S3 Object operations are referenced [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketOps.html here]
Line 201: Line 204:
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectDELETE.html DELETE Object]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectDELETE.html DELETE Object]  
 
|  /!\  
 
|  /!\  
| 2006-03-01*
+
| /!\ 5
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/multiobjectdeleteapi.html Delete Multiple Objects]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/multiobjectdeleteapi.html Delete Multiple Objects]  
Line 209: Line 212:
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGET.html GET Object]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGET.html GET Object]  
 
|  /!\  
 
|  /!\  
| 2006-03-01*
+
| /!\ 5
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETacl.html GET Object ACL]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETacl.html GET Object ACL]  
 
|  /!\  
 
|  /!\  
| 2006-03-01*
+
| X 4
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETtorrent.html GET Object torrent]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETtorrent.html GET Object torrent]  
 
|  /!\  
 
|  /!\  
/!\
+
X
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html HEAD Object]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html HEAD Object]  
 
|  /!\  
 
|  /!\  
| 2006-03-01*
+
| /!\
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPOST.html POST Object]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPOST.html POST Object]  
Line 229: Line 232:
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUT.html PUT Object]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUT.html PUT Object]  
 
|  /!\  
 
|  /!\  
| 2006-03-01*
+
| /!\ 5
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUTacl.html PUT Object acl]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUTacl.html PUT Object acl]  
 
|  /!\  
 
|  /!\  
|<span style="font-size: large; color: white; background: red">|X</span>  
+
|<span style="font-size: large; color: white; background: red">|X 4</span>  
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectCOPY.html PUT Object - Copy]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectCOPY.html PUT Object - Copy]  
 
|  /!\  
 
|  /!\  
| 2006-03-01*
+
| /!\ 5
 
|-
 
|-
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadInitiate.html Initiate Multipart Upload]  
 
| [http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadInitiate.html Initiate Multipart Upload]  
Line 264: Line 267:
 
|}
 
|}
  
* This version of Amazon API supports access to buckets using a subdomain (i.e. bucket.s3.amazonaws.com), whereas [[OpenStack]]  Swift3 relies on a sub-directory (eg swift.domain/bucket), which  renders some tools hardcoded to use "new style" buckets unable to  contact Swift in the right way, despite its ability to support correct  responses.
+
5. This version of Amazon API supports access to buckets using a subdomain (i.e. bucket.s3.amazonaws.com), whereas [[OpenStack]]  Swift3 relies on a sub-directory (eg swift.domain/bucket), which  renders some tools hardcoded to use "new style" buckets unable to  contact Swift in the right way, despite its ability to support correct  responses.
  
 
[[Category:Swift]]
 
[[Category:Swift]]

Revision as of 21:20, 19 November 2014

S3/Swift REST API Comparison Matrix

This page attempts to enumerate how OpenStack, Eucalyptus and CloudStack compare in regards to AWS S3 REST API support. Corrections/contributions welcome.

(./) == Known to be supported

X == Known not to be supported

/!\ == Support status not yet determined

General compatibility statement

S3 is a product from Amazon, and as such, it includes "features" that are outside the scope of swift itself. For example, swift doesn't have anything to do with billing, whereas S3 buckets can be tied to Amazon's billing system. Similarly, log delivery is a service outside of swift. It's entirely possible for a swift deployed to provide that functionality, but it is not part of swift itself. Likewise, a swift deployment can provide similar geographic availability as S3, but this is tied to the deployer's willingness to build the infrastructure and support systems to do so.

General S3 REST API Support

Feature Eucalyptus OpenStack
List Bucket Objects (./) (./)
Bucket ACLs (./) X 2,3,4
Bucket Lifecycle /!\ X
Bucket Policy /!\ X
Bucket Location /!\ X
Bucket Logging /!\ X
Bucket Notification /!\ X
Bucket Object Versions /!\ X
Bucket Request Payment /!\ X
Bucket Versioning X 1 X
Bucket Website /!\ X



1. https://bugs.launchpad.net/eucalyptus/+bug/751309

2. https://bugs.launchpad.net/swift3/+bug/1381548

3. https://bugs.launchpad.net/swift3/+bug/1381735

4. https://bugs.launchpad.net/swift3/+bug/1382290


Amazon S3 REST API Compatability

Amazon S3 Bucket operations are referenced here

S3 REST API method Eucalyptus OpenStack
DELETE Bucket /!\ /!\ 5
DELETE Bucket lifecycle /!\ X
DELETE Bucket policy /!\ X
DELETE Bucket website /!\ X
GET Bucket (List Objects) /!\ /!\ 5
GET Bucket acl /!\ X 3
GET Bucket lifecycle /!\ X
GET Bucket policy /!\ X
GET Bucket location /!\ /!\ 6
GET Bucket logging /!\ /!\
GET Bucket notification /!\ X
GET Bucket Object versions /!\ X
GET Bucket requestPayment /!\ X
GET Bucket versioning /!\ X
GET Bucket website /!\ X
HEAD Bucket /!\ /!\
List Multipart Uploads /!\ X
PUT Bucket /!\ X 7
PUT Bucket acl /!\ X 2,4
PUT Bucket lifecycle /!\ X
PUT Bucket policy /!\ X
PUT Bucket logging /!\ X
PUT Bucket notification /!\ X
PUT Bucket requestPayment /!\ X
PUT Bucket versioning /!\ X
PUT Bucket website /!\ X


5. This version of Amazon API supports access to buckets using a subdomain (i.e. bucket.s3.amazonaws.com), whereas OpenStack Swift3 relies on a sub-directory (eg swift.domain/bucket), which renders some tools hardcoded to use "new style" buckets unable to contact Swift in the right way, despite its ability to support correct responses.

6. Handles GET Bucket location, but there is not support for PUT location different to “US”

7. https://bugs.launchpad.net/swift3/+bug/1382137

Amazon S3 Object operations are referenced here

S3 REST API method Eucalyptus OpenStack
DELETE Object /!\ /!\ 5
Delete Multiple Objects /!\ /!\
GET Object /!\ /!\ 5
GET Object ACL /!\ X 4
GET Object torrent /!\ X
HEAD Object /!\ /!\
POST Object /!\ X
PUT Object /!\ /!\ 5
PUT Object acl /!\ X 4
PUT Object - Copy /!\ /!\ 5
Initiate Multipart Upload /!\ X
Upload Part /!\ X
Upload Part - Copy /!\ X
Complete Multipart Upload /!\ X
Abort Multipart Upload /!\ X
List Parts /!\ X

5. This version of Amazon API supports access to buckets using a subdomain (i.e. bucket.s3.amazonaws.com), whereas OpenStack Swift3 relies on a sub-directory (eg swift.domain/bucket), which renders some tools hardcoded to use "new style" buckets unable to contact Swift in the right way, despite its ability to support correct responses.