Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Cheers, I appreciate you taking the time to write it out. I'm definitely no pro but I'm on my way to learning this stuff. I've heard of S3 but never used it. Maybe I'm oversimplifying, but it just sounds like dedicated cloud storage, maybe that has been optimized for efficiency?
Where I'm at right now is considering using my own storage. I have a lot of platter space, which yes yes I know, that is far from ideal but I was going to try it out and see just how bad the performance was. I'm aiming to host for a pretty small community (>50, probably even >25).
If you're running locally on your own system then yes you can use your own. You can use something like MinIO or Garage to self-host an S3 bucket, and then point Matrix to that
Could you explain what makes an S3 bucket better suited than the default storage scheme? No pressure if not, you've already been helpful!
Basically for a cloud provider s3 storage is just any storage. It's not a disk that needs to be high availability with programs reading and writing to it with an OS on top, its just blobs of data. Images, video, isos, whatever. Its meant for access that is lower than what a VM would need for an active program.
For matrix this is ideal for its content. An image uploaded will be read a fee dozen times, and then less and less until eventually it isn't really needed ever unless someone scrolls and scrolls up.
So for hosting, if you store that on a disk you're saying "this is critical to the operation of the software and must be highly available and optimized for vms reading and writing to it.". Think like m.2 ssds. Blob storage then analogous to us home labbers to throwing it on a giant nas. Its there, may take a bit to load, but its there.
Then s3 has classes too, where if you need your data even less you can pay even less trading off access times, you can get even better rates if you know you need it extremely infrequently, like audit logs. Tape drives are actually used quite a bit for those opt-in low access tiers because if you think about it the data storage is incredibly dense, but opening up a tape can be minutes or longer to access. No problem if you're pulling up some archive from 20 years ago.
Very interesting stuff, thanks!
I am not saying it's exactly the same but that does sound similar to what I am gonna try out. Main my first successful spin up I just have everything in a frankly small VM running on an ssd, but next I'm going to play around with mapping the crucial stuff on that ssd but putting media on my 8TB platter.