Hacker News new | ask | show | jobs
by robgough 1600 days ago
I'm really interested in fly.io after their Postgres post the other day, but I've not seen anywhere what their recommended solution is for ActiveStorage – is it still writing to S3 (or equivalent), or would it be somehow using their volumes? Are there any published examples (blog posts etc)?
4 comments

Using volumes as some sort of s3 would require you to basically build s3 from scratch, you would still need to create an auth system, a server to handle uploads, a way to manage uploaded content maintaining their content type somehow (maybe using another db), a static server, .etc
Nobody's stopping you from running MinIO on top.
ActiveStorage has a local disk support, right? If you do need an S3 compatible storage on edge, you could deploy MinIO[0]

[0] - https://fly.io/docs/app-guides/minio/

S3 or the equivalent is best, yes.
Check out Filebase [0]. It's powered by Web3 technologies including decentralized and distributed storage networks, effectively creating one giant "global" S3 region. You could almost think of it as the storage-equivalent to Fly.io. It also works with ActiveStorage out of the box since Filebase has an S3 compatible API.

[0] https://filebase.com/