47

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 23 points 1 year ago* (last edited 1 year ago)

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

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

[-] node815@lemmy.world 2 points 1 year ago

What I do is this - and some may frown upon it because well...Cloudflare! But I use Cloudflare's tunnels to access my remote instances for my password manager, Home Assistant and a SSH shell. All of which are behind passwords and 2FA. I then have only one port open on my router, that's for my wireguard instance. I access it using my ddns and can be on my home network from anywhere.

I'd move away from the tunnels and push everything through WG, but my family is not as savvy as I am and don't always activate the tunnel when away from home. I am putting a plan for that this weekend though. :)

[-] ErwinLottemann@kbin.social 1 points 1 year ago

I managed to put my family on wireguard. I said 'install this and come to me when you are done', I finished the setup and told them 'the key icon must always be visible'. I don't know how, but it worked 🤷

[-] 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.

this post was submitted on 06 Jul 2023
47 points (98.0% liked)

Selfhosted

40394 readers
305 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 2 years ago
MODERATORS