Leaving public Cloud Storage reddit / selfhosted ---------------------------------------------------------------------- Gredo89 · 2023-11-10 14:29 Hello everyone, I am currently planning to leave Google Drive with all my data (currently "only" 90GB). I like the idea of being able to access my data from everywhere though. Due to how ISPs work where I live, I don't have a fixed IP, except I pay a monthly fee for that and become a "business client". What do I need besides a NAS (or a Pi with an attached external HDD) to store and access my data? I currently only have a Laptop and a Pi 3B + WD Elements I already use for Plex. Plex has the "luxury" of auto-configuring my router and somehow mapping its IP so I can "just connect" from everywhere. Is there something like that for storage? What security measures should I consider? ---------------------------------------------------------------------- realorangeone · 2023-11-10 14:33 You don't need a fixed IP for this - you can either use DynamicDNS to automatically update your IP address, or proxy traffic through a VPS. The latter is more expensive (unless you already have a VPS), but doesn't expose your IP. Oh, or option 3 is Tailscale. Plex works because the client and server are aware of how the networking should work - which won't be the case if you're just using say a web browser accessing your server directly. Server wise, what you have is fine, you just need some software. Nextcloud or FileBrowser are both good solutions for that. ---------------------------------------------------------------------- Gredo89 · 2023-11-10 14:34 Thanks, I will look into those. ---------------------------------------------------------------------- thesnizzles · 2023-11-10 15:26 Depending how important your data is, you may want to consider still backing some of it up to the cloud. You're not going to get the same level of protection with a NAS that you will on the cloud. I have a decently sized NAS which stores my Plex media and Nextcloud data and will backup Nextcloud daily to Backblaze B2. This way if anything happens to my NAS, I still have my irreplaceable data protected. ---------------------------------------------------------------------- luckynutwood68 · 2023-11-10 15:54 You didn't say why you wanted to remove your data from the cloud (leaving Google is a very good reason though) but I wanted to offer another perspective. I don't like opening up my homefirewall for ***anything*** so I have a VPS to host my data in the cloud. It gives me control while still allowing access to my data from anywhere. Kind of a halfway point between self hosting and using public cloud services. ---------------------------------------------------------------------- ElevenNotes · 2023-11-10 15:57 DynDNS with wireguard if you can port forward or tailscale if you can't or are behind CGNAT. ---------------------------------------------------------------------- AdrianTeri · 2023-11-10 16:22 >Plex has the "luxury" of auto-configuring my router and somehow mapping its IP so I can "just connect" from everywhere. Let's be reasonable. If you're going to be away from home I'm sure you don't need all of your content "at a moments notice". If you do you wherever you are that's you're new home! In this instance my advice would be to get a small SBC or RasPi + some external storage which you could load up + rotate your content when you travel. For me I'd add a "travel router" which provides: - Expansion of number of devices that can access the internet(hotels) - Minimization of security + privacy configs across devices as it can be setup on one - the router - Access to SBC/Raspi(and my content) on the LAN ---------------------------------------------------------------------- Not_your_guy_buddy42 · 2023-11-10 16:23 The NAS can do almost everything you need except offsite C2. For example Synology ((so far I only had these)) has a built-in DynDNS service that gives you a subdomain you can access the NAS through without extra steps. I bet all the other NAS brands have this built-in as well. Whichever you pick, definitely have 2FA enabled. Also if you can setup your storage pool as btrfs that's great too. As others pointed out, you need an offsite copy on some C2 provider or a friend's NAS or whatever. (if you've really no budget, you could get a bunch on free subscriptions (dropbox etc.) and split up the backups between them). The NAS will have an app that already supports a whole lot of providers + things like external USB drive and you can setup automatic backup there. ---------------------------------------------------------------------- techboy411 · 2023-11-10 17:37 I haven't tried it, but a small SBC/PC with Homedrive.io. It's NextCloud + their own trickery to not have to bust ports. Software is free, and you can even buy a NUS or Pi with the software pre-installed if that's more comforting to you. ---------------------------------------------------------------------- Lkwpeter__ · 2023-11-10 18:27 This. Can be stressfull as wireguard clients update the dns of the endpoint only when the tunnel is restarted. I use a vps inbetween my reverse proxy hat home (internet - vps wg - local wg vm - local reverse proxy) ---------------------------------------------------------------------- tinuzzehv · 2023-11-10 19:00 Yes. Run NextCloud on a cheap VPS. File access, online office suite, address book, calendar and a plethora of other applications, and no need to manage hardware or networking. ---------------------------------------------------------------------- mpopgun · 2023-11-10 19:07 Cloudflare and Cloudflare tunnels will solve your dynamic IP problem. Nginx reverse proxy will help with securing anything you want to expose to the internet Somebody else recommended wireguard, it's solid for vpn connectivity. Cosmos is on my to try list...Docker backups pls vpn connectivity...might be worth checking out. I use Backblaze to backup everything...not the best, but cheap unlimited backups. ---------------------------------------------------------------------- tinuzzehv · 2023-11-10 19:16 And to add to this, depending on what kind of performance and availability is needed for the data, a RPi 3 is hardly suitable as a NAS, with its 100 Mbps ethernet, USB 2.0 ports and no SATA or M.2. If you value your data, you need frequent backups (and the discipline to check them regularly, you won't be the first to discover that your most recent backup is two months old because of some persistent error). Or better yet, use some level of RAID, but still do the offsite backup thing. A VPS with 400 GB of SSD storage now doesn't have to cost more than EUR 11 per month. Totally worth it. ---------------------------------------------------------------------- qwertyvonkb · 2023-11-10 19:47 Get a cheap VPS and setup a Wireguard tunnel between it and your house to gain a public ip address. ---------------------------------------------------------------------- probablymakingshitup · 2023-11-10 20:10 I have a synology nas and have moved my data from Google drive and onedrive to my nas. I use DS File on my mobile devices to access my files. I’m behind CGNAT so I use the remote access service that comes with the Synology nas systems. Works great with no port forwarding, and is secure. If you aren’t on a mobile device, you can connect to your shares via the synology quick connect url with any modern browser. ---------------------------------------------------------------------- jtnishi · 2023-11-10 20:54 This case does sound like a particularly good one for using tailscale depending on things like CGNAT or whatever from your ISP. WireGuard and a dynamic DNS solution would also work. Hopefully you don’t need to make your NAS data wide open. ---------------------------------------------------------------------- ricklous · 2023-11-10 23:38 Another option is Syncthing. I use it to sync my Documents, Downloads, Music, Pictures between my laptop, phone and home server. It syncs 140gb of data without any special networking configuration. If you have the internal space on your phone or are able to add an SD Card to it, that may be the easiest option. And a bonus is that youve still got access to your files even when your mobile is offline. https://syncthing.net/ ---------------------------------------------------------------------- No_Lawfulness420 · 2023-11-10 23:55 A third option would be cloudflared (Cloudflare Tunnels). Pros: You don't have to expose a port on your router. No problem with dynamic IP. Cons: Cloudflare is (theoretically) able to read your traffic. ---------------------------------------------------------------------- survivallama · 2023-11-11 02:51 I use synology + tailscale ---------------------------------------------------------------------- BokehJunkie · 2023-11-11 03:10 if you're talking about tunneling all traffic through that VPS OP should be aware that most of your VPCs either cap ingress / egress data or charge based on the amount of data transferred per month. ---------------------------------------------------------------------- BokehJunkie · 2023-11-11 03:11 no idea where you are, but consider your internet connection speed. Specifically your "upload" speed from home, because that becomes your bottleneck for downloading / viewing files remotely. ---------------------------------------------------------------------- qwertyvonkb · 2023-11-11 05:51 Could go with OVH. Depending on what his bandwidth speeds are at home, he could go with their smallest VPS. ---------------------------------------------------------------------- betahost · 2023-11-12 00:08 Synology NAS + Tailscale