IanTwenty

joined 2 years ago
[–] IanTwenty@lemmy.world 2 points 5 days ago (1 children)

Sorry re-reading my comments it's not super clear what I meant: nowhere else in the table do they take account for the 'hidden' on-going maintenance of looking after a server/self-hosting. So this is the only row where they address 'cost' and I just thought it's a bit optimistic to say replacing all of Spotify just costs a one time server setup and storage. I think you're saying this row was only meant to indicate financial cost and I agree it's basically accurate from that meaning. However this is only the 'initial' cost. For example a self-hosted server and storage will eventually have to be replaced whereas Spotify will just keep replacing their own servers and that's already baked into the price of your subscription (caveat: that Spotify price will rise over time).

It's not a big point really, maybe I'm nitpicking.

[–] IanTwenty@lemmy.world 2 points 5 days ago (3 children)

I see what you're saying but nowhere else in that table is cost mentioned. Below the table they say maintanance is minimal. If you're already looking after storage, containers and server(s) I guess that could be true.

[–] IanTwenty@lemmy.world 33 points 5 days ago (26 children)

Author says "one-time server setup + storage" but there are a few moving parts and always updates to handle so I'm sceptical this could be truly called 'one time' (or any selfhosting). Time will tell I guess. I enjoyed the article though and gave me food for thought.

[–] IanTwenty@lemmy.world 6 points 3 weeks ago (1 children)

10Gb is not a big file relatively speaking - both ext4 and btrfs (for example) can handle 16TiB and larger. If this was your only reason for choosing exFAT then you can definately migrate.

[–] IanTwenty@lemmy.world 7 points 1 month ago

Are you using RAID at all? If so ZFS is probably the way to go. If not I think it matters less whether you use either btrfs or ZFS.

Regarding btrfs and power loss:

https://unix.stackexchange.com/questions/340947/does-btrfs-guarantee-data-consistency-on-power-outages

...btrfs is designed to only experience data loss not corruption, assuming well behaving hardware in power outage scenario. In practice ZFS has more maturity overall (definately) so may be better (my speculation).

Beyond direct comparisons if you already have on and offline backups then you are protected from power corruption and only have to worry about data loss anyway?

[–] IanTwenty@lemmy.world 1 points 1 month ago

Was this comment meant for a different conversation? We're talking about VPNs here.

[–] IanTwenty@lemmy.world 2 points 1 month ago

I've got probably 30+ households of people and multiply that by number of devices....this is also something that will only be live for 12 months maybe. I think if I was doing something long-lived it might be worth the effort to get everyone onto VPN but for this....just can't justify the time. Thanks anyway.

[–] IanTwenty@lemmy.world 3 points 1 month ago

Hey thanks for this. Yep I've got too many users and most are not technical so it's just a huge headache to get them all onto VPN not matter how simple. That said I'd consider tailscale/funnel for other projects and it's always good to hear what others are using.

[–] IanTwenty@lemmy.world 1 points 1 month ago

👍 looks like its fairly easy to add something like ModSecurity WAF to nginx

[–] IanTwenty@lemmy.world 3 points 1 month ago

Thought process is: Peertube or some other service’s first job is the purpose for the service, so security likely won’t be as good as a service who’s first job is security.

Really good point. I see many selfhost instructions now that say 'we don't bother with HTTPS, just use a proxy to handle that' and maybe auth should go the same way as in there's good solutions that specialise in auth so it's not worth each project doing it themselves.

apps can’t deal with hitting Authentik 1st afaik

Another good consideration. There is an early Peertube app but I doubt my users will be using it, web access is fine for this. Perhaps apps for things like Lemmy/Mastodon/Peertube etc will need to work better with these auth frontends in future.

[–] IanTwenty@lemmy.world 2 points 1 month ago

Thanks for this suggestion - this is interesting because it looks like pangolin combines almost all the measures mentioned so far here apart from Anubis: auth provider with one-time email passcodes, geoip blocking, crowdsec plus bonus automated cert handling. It does look like it does nearly everything in one package and I can pay for them to host it for me if I don't want to selfhost those parts. Strong contender!

[–] IanTwenty@lemmy.world 4 points 1 month ago

Really good point. I can definitely restrict to one country and anyone using their own VPNs/TOR/whatever will be sophisticated enough to understand why its restricted and how to keep their access.

66
submitted 1 month ago* (last edited 1 month ago) by IanTwenty@lemmy.world to c/selfhosted@lemmy.world
 

Edit: thanks for all your help and replies, this is a such a great community!

I would like to host a public service for some family, probably Peertube so we can share some videos. Invite only.

There's no way I'm going to get everyone onto a VPN, it's a non-starter though I would prefer it.

I am thinking to use a VPS with anubis and either crowdsec or fail2ban (or both?!) in front of Peertube. Will apply as much hardening as I can muster behind that: things in containers, systemd hardening, SELinux/Apparmor enabled/tuned, separate users for services, the usual. All ports shut except 80/443, firewall up.

Despite all this I expect it will get scanned and attacked as it will have to expose ports 80/443 to the world so for family it will just work.

Is there anything else I should consider for security? Is Peertube the weakest link in the chain? (a little concerned their min password length is 6 it seems and no 2fa). So long as I keep whole thing up-to-date is it as secure as anybody can manage these days (without resorting to VPN)?

Is it all too much hassle and I should look for a company that offers hosted Peertube so they can worry about it?

Thanks for any and all advice.

 

Figured I'd ask here as thought self-hosters would care most about looking after their photos.

What do you do with friends' photos you'd like to keep hold of? Maybe there's a pic on a chat app or they've sent you a link to an album on google photos.

Would you just throw into your own pile of photos or do you carefully adjust metadata to indicate who took them? Just use dirs to separate them from your own? Interested in any and all thoughts.

 

Can anyone recommend a tool to manage photos at the cmdline? I just want to move photos into dirs based on their metadata (YYYY/DD), occasionally fix up metadata (adjust dates), rename photo filenames to match a template and/or query my photos for certain things. It doesn't need to be a gallery or image touch-up tool, I have other things for that.

I'm aware of exiftool and ImageMagick, perhaps they can do the job but they seem quite low level, really need to build scripts around them - I'd like something that operates at a slightly higher level so I don't have to do too much scripting.

A quick search turned up chee (GPLv3) which can:

  • search photos using a simple query language
  • manage named queries (called collections)
  • copy/symlink images into a custom folder structure

...but it's not had an update in a few years (maybe it's feature complete tho!) Any other suggestions? Thanks.

view more: next ›