Guía de inicio al autoalojamiento
Descubre qué servicios en la nube puedes reemplazar con alternativas autoalojadas y cómo empezar.
Self-hosting means running software on hardware you control instead of renting it from the cloud. Done sensibly, it gives you privacy, control and lower long-term costs. Done carelessly, it gives you a new part-time job. This guide shows what you can replace, what it honestly costs in money and time, and how to begin without getting overwhelmed.
Popular cloud replacements
| Instead of | Self-host | Category |
|---|---|---|
| Google Drive / Dropbox | Nextcloud | Files and sync |
| Google Photos / iCloud Photos | Immich | Photos |
| Netflix / Spotify (your own library) | Jellyfin / Plex | Media |
| LastPass / 1Password (server side) | Vaultwarden | Passwords |
| Smart-home clouds | Home Assistant | Automation |
| Ad networks and trackers | Pi-hole | DNS filtering |
| Uptime monitoring services | Uptime Kuma | Monitoring |
Why self-host?
- Privacy — your data stays on your hardware.
- No subscriptions — pay once for hardware, then just electricity.
- Control and learning — configure things exactly how you like, and learn skills that matter in IT.
- Longevity — your service does not disappear when a company changes its pricing or closes a product.
The honest downsides
Self-hosting is not free of cost, and a trustworthy guide should say so:
- You are the administrator. Updates, backups and security are your job.
- Reliability is on you. There is no support team if a disk dies at midnight. Plan backups and a UPS.
- Some services are best left in the cloud. Email is the classic example: running your own mail server is hard to do reliably and keep out of spam folders.
- Your internet connection matters. Upload speed limits remote access and a connection outage takes services offline.
A sensible rule: self-host what you enjoy and can restore from backup; keep critical, hard-to-run services (such as email) with a provider you trust.
What it costs
A typical beginner setup:
| Item | Approximate cost |
|---|---|
| Mini PC (Intel N100, 16 GB RAM) | one-time purchase |
| SSD for the OS and apps | one-time purchase |
| Hard drive(s) for data | one-time purchase |
| Electricity at 10 W idle | about 88 kWh per year |
| Your time | a few evenings to start, an hour a month to maintain |
Calculate the electricity cost for your price per kWh with our power consumption calculator. Compare the result with the subscriptions you would replace; many people find the hardware pays for itself within one to three years.
How to start (the easy path)
- Pick one problem to solve, not ten. For example, "I want my photos off Google".
- Get a small, efficient machine — see our hardware buying guide and best mini PCs.
- Install Linux and Docker. Learn the basics in Docker basics.
- Deploy one app with Docker Compose and live with it for a week.
- Add backups before you add the second app.
- Add more once you are comfortable.
A sample first stack
services:
vaultwarden:
image: vaultwarden/server:latest
volumes:
- ./vw-data:/data
ports:
- "8081:80"
restart: unless-stoppedVaultwarden is a lightweight, Bitwarden-compatible password server. Because passwords are extremely sensitive, always put it behind HTTPS with a reverse proxy before you use it away from home, keep it updated, and back up its data folder.
Access and back up
Reach your services securely with a VPN like Tailscale instead of opening router ports. Read the secure remote access guide, then back everything up following the 3-2-1 rule: three copies, two media types, one offsite. Your Docker Compose files plus your volumes are your setup — protect them.
Security basics for beginners
- Use SSH keys and disable password logins.
- Keep the operating system and containers updated.
- Don't publish admin interfaces to the internet.
- Use unique passwords and enable two-factor authentication where supported.
Work through the home server security checklist before you rely on your server.
Grow at your own pace
Browse the full resource directory for ideas, and don't try to host everything at once. One reliable service beats ten half-configured ones. When you are ready for more structure, follow the complete beginner's guide.
Artículos relacionados
La guía completa del servidor doméstico para principiantes
De cero a un servidor doméstico en marcha: elige el hardware, el sistema operativo, despliega tus primeras apps y mantén todo seguro y con copias de seguridad.
¿Qué es un servidor doméstico? Una introducción sencilla
Una explicación para principiantes de qué es un servidor doméstico, cómo funciona, cuánto cuesta y cómo decidir si deberías montar uno.
Nextcloud vs ownCloud
Compara los dos forks de nube privada: funciones, apps, licencias y cuál encaja en tu homelab.