← Back to context

Comment by courtcircuits

10 days ago

From my experience, Garage is the best replacement to replace MinIO *in a dev environment*. It provides a pretty good CLI that makes automatic setup easier than MinIO. However in a production environment, I guess Ceph is still the best because of how prominent it is.

Garage doesn't support CORS which makes it impossible to use for development for scenarios where web site visitors PUT files to pre-signed URLs.

  • Yep I know, I had to build a proxy for s3 which supports custom pre-signed URLs. In my case it was worth it because my team needs to verify uploaded content for security reasons. But for most cases I guess that you can't really bother deploying a proxy just for CORS.

    https:/github.com/beep-industries/content

  • Garage does actually support CORS (via PutBucketCORS). If there is anything specific missing, would you be wiling to open an issue on our issue tracker so that we can track it as a feature request?

    • Oh, indeed!

      Although the doc only mentions CORS [1] on an "exposing website page" which is not exactly related; also the mention strongly suggests using reverse proxy for CORS [1] which is an overkill and perhaps not needed if supported natively?

      Also googling the question only points out to the same reverse proxy page.

      Now that I know about PutBucketCORS it's perfectly clear but perhaps it's not easily discoverable.

      I am willing to write a cookbook article on signed browser uploads once I figure out all the details.

      [1] https://imgur.com/a/r3KoNkM