To be compatible with Amazon S3 API, a separate "weed s3" command is provided. This provides much faster access when reading or writing files, compared to operating files on the cloud.
weed s3
will start a stateless gateway server to bridge the Amazon S3 API to SeaweedFS Filer.For convenience, weed server -s3
will start a master, a volume server, a filer, and the S3 gateway.
Each bucket is stored in one collection, and mapped to folder /buckets/<bucket_name> by default.
A bucket can be deleted efficiently by deleting the whole collection.
Currently, the following APIs are supported.
// Object operations
* PutObject
* GetObject
* HeadObject
* CopyObject
* DeleteObject
* ListObjectsV2
* ListObjectsV1
// Bucket operations
* PutBucket
* DeleteBucket
* HeadBucket
* ListBuckets
// Multipart upload operations
* NewMultipartUpload
* CompleteMultipartUpload
* AbortMultipartUpload
* ListMultipartUploads
* CopyObjectPart
Not planned:
- ACL
- Policy
The major difference with Amazon S3 is that the permission and access control are not implemented yet.