Amazon S3 vs. Azure Data Storage

Posted by Alin Irimie on November 17, 2008

There are so many similarities between the Amazon S3 and Azure Data Storage REST APIs, I believe that soon somebody will write a cross-cloud Data Storage Library. If anybody knows about such library, please let me know! The table below shows only a few similarities between S3 and Azure Data Storage APIs.

Amazon S3 Windows Azure Data Storage
Bucket Container
CREATE
Put http://destinationBucket.s3.amazonaws.com
CREATE
Put http://myaccount.blob.core.windows.net/mycontainer
List objects
GET
http://destinationBucket.s3.amazonaws.com ?prefix=prefix;marker=marker;max-keys=max-keys;delimiter=delimiter
List blobs
GET http://myaccount.blob.core.windows.net/mycontainer?comp=list& prefix=prefix&delimiter=delimiter&marker=marker& maxresults=maxres
Delete Object
DELETE:
http://destinationBucket.s3.amazonaws.com 
Delete Blob
DELETE http://myaccount.blob.core.windows.net/ mycontainer
Object Blob
PUT
http://destinationBucket.s3.amazonaws.com/ destinationObject
Content-Length: length
Content-MD5: md5_digest
Content-Type: type
Content-Disposition: object_information
Content-Encoding: encoding
Cache-Control: caching
Expires: expiration
PUT http://myaccount.blob.core.windows.net/mycontainer/ myblob
Content-Length
Content-Type
Content-Encoding
Content-Language
Content-MD5
x-ms-meta-name:value
GET
http://destinationBucket.s3.amazonaws.com/ destinationObject
Range
If-Modified-Since
If-Unmodified-Since
If-Match
If-None-Match
GET
GET http://myaccount.blob.core.windows.net/mycontainer/ myblob
Range
Get Object Properties
HEAD
http://destinationBucket.s3.amazonaws.com / destinationObject
Get Blob Properties
HEAD http://myaccount.blob.core.windows.net/mycontainer/ myblob
Delete object
DELETE http://destinationBucket.s3.amazonaws.com/ destinationObject
Delete blob
DELETE http://myaccount.blob.core.windows.net/mycontainer/ myblob
Share it:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Live
  • NewsVine
  • TwitThis
  • StumbleUpon
  • Technorati

Related posts:

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments