this post was submitted on 06 Jul 2023
46 points (97.9% liked)

Selfhosted

40219 readers
1176 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:

  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 posting.

  3. 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.

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

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

A recent post here about 4th July sales has made me consider buying a VPS but the cost still seems a little steep. What are the main advantages of using a VPS?

you are viewing a single comment's thread
view the rest of the comments
[–] TheInsane42@lemmy.world 22 points 1 year ago* (last edited 1 year ago) (4 children)

Depends on what you want to do and how technical you are.

Main advantage of hosting on your own hardware from home are cost and ease of access. Main drawback is that you need to give acces to your home network when you want to provide services. When you know what you do and your connection is fast enough, that isn't a problem.

The main advantage of a VPS, which you rent instead of buy, is the flexibility and keeping security threats out of your home network. You can activate one for the service you like to provide, keep it alive until you don't need it and have it detstroyed. Security issues may exist, but they are out of your home network. In the long run they are more expensive.

You can also combine both, host some services locally (RPi or a nuc) and some remote on a vps.

Here I run several personal websites local, but the DNS of my domains, incoming email and business websites are hosted on a set of VPS'es (set as you need 2 for dns). All websites are static, no management software what so ever, as most are (huge) security risks. For email I use the main VPS as 1st line of defence. Spam and virus scanning is done there.

I could use my RPis to do all locally, but I prefer to have DNS and email externally. Also, my only surviving client would be leaving when I run everything from home. (He's basically paying for the servers, I just keep them running, pay for them and send the bill ;) )

When just 'messing around' a VPS is advisable, as you can trow it away and try again when you mess up. ;)

[–] Fudgeknuckles98@lemmy.world 4 points 1 year ago (3 children)

That's really helpful thanks. My main reason for considering switching is for availability when outside of my home. I know I could port-foward but I am concerned about the security risks of that. I might buy one for just a month or two to see how it might help

[–] curioushom@lemmy.one 1 points 1 year ago

Re: port-forwarding, I used traefik as a reverse proxy and that worked well (having a single domain cert instead of per service DNS is another layer but it's just obfuscation), but it's always a risk. I finally started using Tailscale after hearing about it for years and it is actually very good and deserves the hype. I had meant to setup wireguard myself but this is a lot easier. And if you don't want to use tailscale server, you can run headscale (on a cheap VPS?) instead.

load more comments (2 replies)
load more comments (2 replies)