Self hosting means running software and storing files on a computer you own and control, instead of paying a cloud provider like Google, Apple, or Dropbox to do it on their servers. Your files stay on your hardware — no company can read them, raise the price, or delete them if you stop paying — a core privacy protection consistently advocated by the Electronic Frontier Foundation. Modern self-hosting tools like Gavety reduce setup to one install command on any Linux device, with remote access from any browser, no technical expertise required.
What Does Self Hosting Mean?
When you use Google Drive, your files are on Google’s computers in their data centres. Google manages the hardware, the software, the security, and the access. In exchange, you pay a monthly fee, accept Google’s terms, and trust that Google will handle your data responsibly — which means Google can scan your files, respond to government requests for your data, and change what the service does or costs at any time.
When you self-host, your files are on a computer you own — a Raspberry Pi in your living room, an old laptop in a cupboard, a desktop under your desk. You manage the storage. No third party has access to your files unless you explicitly grant it. Nobody can raise the monthly price, because there is no monthly price. Nobody can scan your files for advertising or AI training, because nobody else’s systems touch them.
How Does Self Hosting Actually Work?
The mechanics of self hosting for file storage are straightforward once you understand the two components: where your files are and how you access them remotely.
Where your files are
Your files are stored on a drive attached to a device you own. This could be a Raspberry Pi with a USB SSD, an old laptop with its internal drive, or a desktop PC with extra hard drives. The device runs Linux and stays powered on, acting as your personal file server. When you are at home, you access your files over your local network — instantly, with no internet speed limitation.
How you access files remotely
This is where modern self-hosting tools changed everything. Traditionally, accessing a home server remotely required port forwarding — configuring your router to expose ports to the internet, setting up a dynamic DNS service, and managing SSL certificates. It was complex, had security risks, and often didn’t work on residential internet connections that use CGNAT (where your ISP shares a single IP address across many customers).
Gavety solves this with an outbound tunnel: the agent on your device creates an encrypted connection out to app.gavety.com, with no inbound ports opened. You access your files through that tunnel from any browser, anywhere in the world. It works on every residential internet connection, including CGNAT. No router configuration. No domain name. No VPN. See our guide to self hosting without port forwarding for the full explanation.
Five years ago, self hosting a file server required configuring Nginx or Apache, generating SSL certificates with Let's Encrypt, setting up port forwarding, managing a domain name and DDNS, and debugging network issues every time your ISP changed your IP address. Today with Gavety, it is one command: curl -fsSL install.gavety.com | bash. The infrastructure complexity has been abstracted away.
Why Do People Self Host?
People come to self hosting from different directions — some for privacy, some for cost, some after a bad cloud experience. Here are the six most common reasons, in order of how often they are cited.
What Can You Self Host?
File storage is the most popular starting point, but self hosting covers a wide range of software. Here are the most common things people self host and what cloud service they replace:
For most people, file storage is the right place to start. It has the clearest financial benefit (replacing a $35–$144/yr cloud subscription with a one-time hardware cost), the clearest privacy benefit (files stay on your hardware), and the most mature tooling. Once you have file storage self-hosted and running smoothly, expanding to photo libraries, password managers, and other services becomes natural.
Self Hosting vs Cloud Storage: The Honest Comparison
| Feature | Cloud storage (Google, Dropbox, iCloud) | Self-hosted (Gavety) |
|---|---|---|
| Monthly cost | $3–$12/mo ongoing forever | $1.25/mo ($15/yr) — unlimited storage |
| Storage cap | Hard cap — upgrade plan to get more | ∞ Your drive = your cap |
| Provider reads your files | ✗ Yes — malware scan, AI training, policy enforcement | ✓ Never — files on your hardware only |
| Government can request your files from provider | ✗ Yes — 59,000+ legal demands to Google in 2023 | ✓ Gavety has no files to hand over |
| Price increase risk | ✗ Google, Dropbox both raised prices 2023–24 | ✓ Hardware price is set on purchase day |
| Works offline (local network) | ✗ No — requires internet | ✓ Yes — always accessible locally |
| Setup time | ✓ Zero — sign up and go | ~30 minutes one time |
| Guaranteed 24/7 uptime | ✓ Yes (99.9% SLA) | Depends on your device & internet |
| Air-gapped backup option | ✗ Not possible — all copies are cloud-connected | ✓ Yes — unplug a drive; ransomware cannot reach it |
What Are the Trade-offs of Self Hosting?
Self hosting is not universally better than cloud storage. It is better for some people in some situations. Here is an honest breakdown of what you gain and what you give up. For the complete analysis, see the self-hosting pros and cons guide.
- Complete data privacy — no provider sees your files
- No monthly subscription fee
- Unlimited storage at the size of your drives
- Full ownership — your files survive any subscription lapse
- Air-gapped cold backup option for ransomware resilience
- Works offline on your local network
- No vendor lock-in — standard files on a standard filesystem
- One-time 30-minute setup (vs zero setup for cloud)
- Upfront hardware cost ($0 if spare device, ~$80–135 for Pi + SSD)
- Remote access depends on your home device staying online
- No built-in real-time collaborative editing (like Google Docs)
- You manage system updates (~5 min/week)
- You own your backup strategy — it does not happen automatically
Self hosting makes sense for anyone who stores more than 50 GB of files (where cloud costs become significant), values privacy and does not want files scanned by a provider, has any spare device to run it on (or is willing to spend ~$80 on a Raspberry Pi), and can spare 30 minutes for a one-time setup. It is less suited to people who need guaranteed 24/7 remote access, need real-time collaboration tools built in, or have no interest in any technical setup at all.
How Do You Get Started With Self Hosting?
For file storage — the most common and highest-value starting point — here is the complete path from zero to working self-hosted storage:
sudo apt update && sudo apt upgrade -ycurl -fsSL install.gavety.com | bash — this installs Gavety, mounts your storage drive, and creates the outbound tunnel. No port forwarding. No router configuration. Works on any residential internet connection. Takes under 5 minutes to complete.app.gavety.com on your phone, tablet, or any computer. Upload files, create folders, share links with expiry dates — the same experience as Google Drive or Dropbox, except the files are on your hardware. Accessible from anywhere in the world.Explore Every Self-Hosting Topic
Self hosting covers a broad range of topics — hardware, privacy, compliance, security, cost, and specific use cases. Every guide below goes deep on one aspect:
Common Questions About Self Hosting
Yes, self hosting is legal everywhere that cloud storage is legal. Running software on your own hardware and storing your own files on your own device is not inherently subject to any special regulation in any jurisdiction. The legal questions that arise with self hosting are the same ones that arise with cloud storage: GDPR if you store other people’s personal data in the EU, HIPAA if you store healthcare data in the US, and so on — but these obligations apply to how you use and protect the data, not to where it is physically stored.
Self hosting can actually simplify some compliance obligations. Under GDPR, keeping data on hardware within the EU avoids the cross-border transfer requirements that apply to cloud providers whose infrastructure is outside the EEA. See the GDPR compliant file storage guide for the full breakdown.
The complete cost of self-hosted file storage with Gavety breaks down as: hardware ($0 if you have a spare device, $80–135 for a Raspberry Pi 5 + 1TB USB SSD); electricity ($5–8/yr for a Raspberry Pi running 24/7 at average US electricity rates); Gavety licence ($15/yr or $100 one-time lifetime); storage drive (already included in hardware, or $55–80 for additional capacity).
Five-year total with spare device: approximately $75. Five-year total buying a Pi 5 + SSD: approximately $210. Compare this to Google One 100 GB at $179 over five years, iCloud+ 200 GB at $179, or Dropbox Plus at $719. The break-even point against Google One is approximately 14 months from the date of hardware purchase. Use the interactive 5-year cost calculator to run your specific numbers.
A NAS (Network-Attached Storage) is purpose-built hardware designed specifically for self-hosted storage — Synology, QNAP, and Western Digital all make NAS devices. They cost $200–$800 for the enclosure alone, plus drives. Self hosting with Gavety on a Raspberry Pi or old laptop achieves most of the same functionality for $80–135 total. The differences: NAS devices offer RAID management across multiple drives, purpose-built hardware reliability, and more drive bays for very large storage. For most personal and small-team use cases, Gavety on a Raspberry Pi provides equivalent functionality at a fraction of the cost.
The main advantage of a dedicated NAS is higher drive capacity and RAID redundancy. The main advantage of Gavety on a Pi is cost: you can start for $135 all-in, versus $500+ for an equivalent Synology setup. See the Synology alternative guide for a detailed comparison.
Frequently Asked Questions
Do I need to be technical to self host?
Not anymore. Five years ago, self hosting required configuring web servers, managing SSL certificates, and troubleshooting network issues — skills that required technical training. Today, tools like Gavety reduce the entire setup to one terminal command that takes under 30 minutes. If you can follow written instructions and are comfortable using a computer (not programming — just using one), you can self-host in 2026. The most technical step is running a single command in a terminal, which any beginner guide walks through step by step.
What happens to my files if my self-hosted device breaks?
If your self-hosting device breaks without a backup, you lose the files on that device — just as you would lose files on any computer that breaks without a backup. This is why the 3-2-1 backup strategy is essential for self-hosted storage: you keep at minimum three copies of your data (primary drive, secondary drive with daily rsync, and an offline cold backup). With this in place, a device failure means you restore from backup and continue — typically within a few hours. This is not unique to self hosting: cloud providers have also had data loss incidents, and users who relied on a single cloud backup have lost data when those incidents occurred.
Can I share files with people who don’t self host?
Yes. Gavety generates shareable links for files and folders, just like Google Drive or Dropbox. Recipients click the link and access the file in a browser without needing a Gavety account or any technical setup. Links can be time-limited (expire after 24 hours, 7 days, or any period you set) or permanent. You can revoke any link from your Gavety file manager at any time. The person you share with has the same experience as receiving a Dropbox link — they just do not know the file is coming from your hardware instead of a data centre.
Is self hosting the same as a VPN?
No — they solve different problems. A VPN (Virtual Private Network) encrypts your internet traffic and hides your browsing activity from your ISP and the websites you visit. It does not affect where your files are stored. Self hosting is specifically about where software runs and where data is stored — on your own hardware instead of a provider’s servers. Some self-hosting setups use a VPN to provide remote access (Tailscale, WireGuard), but this is a remote access mechanism, not the definition of self hosting itself. Gavety provides remote access via an outbound tunnel without requiring a VPN.
Does self hosting work with my existing phone apps?
Gavety is accessible from any browser on any device, including your phone. You can upload photos, view files, and download documents from the Gavety browser interface on iOS or Android. For automatic photo backup from your phone, a folder sync app can be configured to upload new photos to your Gavety storage over WiFi automatically, replacing the Google Photos or iCloud auto-backup you currently use. The browser interface does not require installing a dedicated app, though third-party WebDAV-compatible apps can also connect to Gavety for a native-feeling experience.
Ready to try self hosting? Start in 30 minutes.
One command on any Linux device. Works on a Raspberry Pi, an old laptop, or any spare computer. No port forwarding, no VPN, no domain name. Remote access from any browser anywhere.
Read the setup guide → Free for LAN use · $100 one-time licence · $20/user/year for remote access