Selfhosted S3 compatible recommendations?

2 years ago by thirdBreakfast to c/selfhosted

Has anyone got some experience/advice for choosing between the options? It seems like they are:

My usecase is just to have a local single instance for testing apps against. I prefer to spin stuff up in Docker on the homelab.

farcaller 18 points 2 years ago

Garage is trivial to get up and running and it’s more lightweight than minio nowadays.

path: 0 12358476, hotness: undefined, score: 18, children: 3
scrubbles 6 points 2 years ago

That's what annoyed me about minio. Started super crazy simple to set up, but I missed two updates and came back to AWS levels of mandatory configuration. Ffs I chose you because you were simple, not because I needed to replace s3

path: 0 12358476 12358851, hotness: undefined, score: 6, children: 1
frizop 2 points 2 years ago

I went through this too, except I got pissed off and found a fips compliant image running the last version prior to their disk format changes. Gosh that royally pissed me off.

path: 0 12358476 12358851 12363323, hotness: undefined, score: 2, children: 0
MangoPenguin 5 points 2 years ago

Garage definitely seems better suited for selfhosters and small setups, Minio is just so large and complex with specific requirements now.

path: 0 12358476 12360213, hotness: undefined, score: 5, children: 0
Moonrise2473 7 points 2 years ago

I set garage via docker and it was not impossibly hard.

Main problem is that there isn't an admin panel and you can't login to the docker container via docker exec, so you have to write some python (or other language of your choice) to send requests to the API port to:

  1. Set the layout of your server
  2. Create an user
  3. Create a bucket
  4. Assign that bucket to your user
path: 0 12357152, hotness: undefined, score: 7, children: 5
palitu 3 points 2 years ago

Postman is great for sending api queries.

path: 0 12357152 12357550, hotness: undefined, score: 3, children: 0
johntash 3 points 2 years ago

You can use docker exec with garage docker image.

I'm on mobile but I think you just need something like: docker exec containerid ./garage stats

path: 0 12357152 12362165, hotness: undefined, score: 3, children: 2
thirdBreakfast 3 points 2 years ago

This is correct, I already installed the minio cli, but when I came back and read this, I tried it out and yes, once garage is running in the container, you can

alias garage="docker exec -ti <container name> /garage"

so you can do the cli things like garage bucket info test-bucket or whatever. The --help for the garage command is pretty great, which is good since they don't write it up much in the docs.

path: 0 12357152 12362165 12368015, hotness: undefined, score: 3, children: 0
Moonrise2473 2 points 2 years ago

Ah maybe I was missing the ./ , it said garage not found on path (on mobile, can't try)

path: 0 12357152 12362165 12368667, hotness: undefined, score: 2, children: 0
thirdBreakfast 2 points 2 years ago

Thanks. I ended up going with Garage (in Docker), and installed the minio client cli for these tasks.

path: 0 12357152 12367965, hotness: undefined, score: 2, children: 0
conrad82 4 points 2 years ago

Which apps are you testing?

I set up minio s3 for testing myself, but found that most of my docker services doesn't really support it. So I went back to good old folders

path: 0 12360445, hotness: undefined, score: 4, children: 1
thirdBreakfast 2 points 2 years ago

One I'm writing. I use the host file system (as I have a strong preference for simple) for it's storage, but I'm interested in adding Litestream for replicating the database onto AWS.

path: 0 12360445 12362615, hotness: undefined, score: 2, children: 0
carl_dungeon 4 points 2 years ago path: 0 12364315, hotness: undefined, score: 4, children: 0
foster 3 points 2 years ago

If you need S3-compliant storage for testing and development, you can use an S3 mock server. I've tried the following for use in web development and CI environments, they are lightweight and configurable:

There is also Localstack. I found this one to be a bit more complex than the ones above and ended up not sticking with it.

path: 0 12359306, hotness: undefined, score: 3, children: 0
rutrum 3 points 2 years ago

I've used minio briefly, and I've never used any other self hosted object storage. In the context of spinning it up with docker, it's pretty easy. The difficult part in my project was that I wanted some buckets predefined. The docker image doesn't provide this functionality directly, so I had to spin up an adjacent container with the minio cli that would create the buckets automatically every time I spun up minio.

But for your use case you would manage bucket creation manually, from the UI. It seems straight forward enough, and I don't have complaints. I think it would work for your use case, but I can't say its any worse or better than alternatives.

path: 0 12357368, hotness: undefined, score: 3, children: 1
thirdBreakfast 2 points 2 years ago

Thanks, I ended up going with Garage, but it has the same issue. I assumed I could just specify some buckets with their keys in the docker-compose or garage.toml, but no - they had to be done through the api or command line.

path: 0 12357368 12368044, hotness: undefined, score: 2, children: 0
mike_wooskey 2 points 2 years ago

I run MiniO in Docker. Love it. I've never used Garage or Seaweed.

path: 0 12440074, hotness: undefined, score: 2, children: 0
johntash 2 points 2 years ago

Garage is the simplest of the three imo.

I've only used it in a cluster, but it should be even simpler for one instance

path: 0 12362138, hotness: undefined, score: 2, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
60115
6401
7185

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require your active participation in selfhosting or related communities, or the post will be removed. No more than 10% of your posts or comments may be self-promotional, or your post will be removed. F/LOSS Exception: If your post is about a project that is completely open source & can be self-hosted in full without payment, your post is exempt from this rule as long as you continue to engage in comments.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...