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.

    1. // Object operations
    2. * PutObject
    3. * GetObject
    4. * HeadObject
    5. * CopyObject
    6. * DeleteObject
    7. * ListObjectsV2
    8. * ListObjectsV1
    9. // Bucket operations
    10. * PutBucket
    11. * DeleteBucket
    12. * HeadBucket
    13. * ListBuckets
    14. // Multipart upload operations
    15. * NewMultipartUpload
    16. * CompleteMultipartUpload
    17. * AbortMultipartUpload
    18. * ListMultipartUploads
    19. * CopyObjectPart

    Not planned:

    • ACL
    • Policy

    The major difference with Amazon S3 is that the permission and access control are not implemented yet.