7

I plan to have the following services running concurrently on it:

  • A VPN (OpenVPN or Wireguard)
  • A very lightweight personal website
  • A Nextcloud instance (25GB storage max)
  • A Vaultwarden instance
  • An Invidious instance
  • A Matrix server
  • A Lemmy instance

I'm unsure if these would be private or public instances. But I'd be curious to hear any thoughts on how much more space I'd need for public instances too, if you'd have a sense of that.

I currently have a VPS with 2GB RAM + 50GB storage. Would that be enough? Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[-] jlh@lemmy.jlh.name 0 points 1 year ago

The heaviest things will probably be the postgres database(s) needed for nextcloud, vaultwarden, and lemmy. (not sure if invidious or matrix use dbs). I would say 500-1000MiB per DB, so probably around 4GiB to be safe.

[-] Trainguyrom@reddthat.com 1 points 1 year ago

Can't you have multiple services using the same database? My understanding is that they would each do different tables and if you give each a different database user that's not only good practice but also helps prevent them from stomping on eachother

[-] cnschn@lemmy.cnschn.com 3 points 1 year ago

You could, but it probably wouldn't help much. The overhead for each additional Postgres server is minimal, the RAM usage comes from each database. It doesn't really matter if those are on the same postgres instance or on separate ones, in my experience.

this post was submitted on 10 Jun 2023
7 points (88.9% liked)

Self Hosted - Self-hosting your services.

11289 readers
36 users here now

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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS