Crosspost:
https://git.pleroma.social/pleroma/pleroma-meta/-/issues/43#note_67070I've been reading into server costs, and starting to get a better idea about how this works.
Putting a server on the internet:
- Buy your own server hardware.
- Find a local datacenter.
- Rent rack space from them.
- You put your own server(s) onto the rack.
- Each slot on a rack is called "1U" (one unit?)
- 1U costs about $50-300/mo.
- You can buy servers that are 1U size, 2U size, etc.
- Your IP address comes from the datacenter.
This seems like a flexible enough system, I can start small and expand.
Let's say each Pleroma server needs 1GB of RAM, so I can support 144 customers on 144GB RAM.
I can buy a 1U, 144GB RAM server for $400:
https://www.newegg.com/hp-proliant-dl360-g6-rack/p/2NS-0006-31892I'm not accounting for disk space yet, but this seems more doable than I imagined. Of course I'm making a lot of assumptions. But even twice that cost still seems within reason.
I'd still need to figure out how to delegate new installations across multiple servers as I scale up. Someone pointed out the Elixir [Realbook](https://hexdocs.pm/realbook/Realbook.html) library earlier which seems promising.