Jump to: navigation, search

Difference between revisions of "Swift/APIFeatureComparison"

(General S3 REST API Support)
Line 15: Line 15:
 
{| border="1" cellpadding="2" cellspacing="0"
 
{| border="1" cellpadding="2" cellspacing="0"
 
| Feature  
 
| Feature  
| Eucalyptus
 
 
| [[OpenStack]]  
 
| [[OpenStack]]  
 
|-
 
|-
 
| List Bucket Objects  
 
| List Bucket Objects  
|  (./)
 
 
|  (./)  
 
|  (./)  
 
|-
 
|-
 
| Bucket ACLs  
 
| Bucket ACLs  
|  (./)
 
 
|  (./) 2,3
 
|  (./) 2,3
 
|-
 
|-
 
| Bucket Lifecycle  
 
| Bucket Lifecycle  
|  /!\
 
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|-
 
|-
 
| Bucket Policy  
 
| Bucket Policy  
|  /!\
 
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|-
 
|-
 
| Bucket Location  
 
| Bucket Location  
|  /!\
 
 
|  (./)  
 
|  (./)  
 
|-
 
|-
 
| Bucket Logging  
 
| Bucket Logging  
|  /!\
 
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|-
 
|-
 
| Bucket Notification  
 
| Bucket Notification  
|  /!\
 
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|-
 
|-
 
| Bucket Object Versions  
 
| Bucket Object Versions  
|  /!\
 
 
|  X  
 
|  X  
 
|-
 
|-
 
| Bucket Request Payment  
 
| Bucket Request Payment  
|  /!\
 
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|<span style="font-size: large; color: white; background: red">|X</span>  
 
|-
 
|-
 
| Bucket Versioning  
 
| Bucket Versioning  
|<span style="font-size: large; color: white; background: red">|X</span> 1
 
 
|  X  
 
|  X  
 
|-
 
|-
 
| Bucket Website  
 
| Bucket Website  
|  /!\
 
 
|  X  
 
|  X  
 
|}
 
|}
Line 67: Line 55:
 
</nowiki></pre>
 
</nowiki></pre>
  
1. https://bugs.launchpad.net/eucalyptus/+bug/751309
+
1. https://bugs.launchpad.net/eucalyptus/+bug/751309 "Removing Eucalyptus column as data is not considered up to date."
  
 
2. https://bugs.launchpad.net/swift3/+bug/1381548
 
2. https://bugs.launchpad.net/swift3/+bug/1381548

Revision as of 19:55, 15 June 2016

S3/Swift REST API Comparison Matrix

This page attempts to enumerate how OpenStack, and Eucalyptus compare in regards to AWS S3 REST API support. The OpenStack Swift results are based on Swift3 v1.8 and we loaded on Nov 3, 2015. 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 OpenStack
List Bucket Objects (./)
Bucket ACLs (./) 2,3
Bucket Lifecycle X
Bucket Policy X
Bucket Location (./)
Bucket Logging X
Bucket Notification X
Bucket Object Versions X
Bucket Request Payment X
Bucket Versioning X
Bucket Website X



1. https://bugs.launchpad.net/eucalyptus/+bug/751309 "Removing Eucalyptus column as data is not considered up to date."

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 /!\ (./)
DELETE Bucket lifecycle /!\ X
DELETE Bucket policy /!\ X
DELETE Bucket website /!\ X
GET Bucket (List Objects) /!\ (./)
GET Bucket acl /!\ (./)
GET Bucket lifecycle /!\ X
GET Bucket policy /!\ X
GET Bucket location /!\ (./)
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 /!\ (./)
PUT Bucket /!\ (./)
PUT Bucket acl /!\ (./)
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. 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 /!\ (./)
Upload Part /!\ (./)
Upload Part - Copy /!\ (./)
Complete Multipart Upload /!\ (./)
Abort Multipart Upload /!\ (./)
List Parts /!\ (./)

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.