diff --git a/admindoc.md b/admindoc.md index 497d6804..5442e740 100644 --- a/admindoc.md +++ b/admindoc.md @@ -3,10 +3,10 @@ * Discovering self-hosting * [What is Self-hosting](/selfhosting) * [What is YunoHost](/whatsyunohost) -* Before installing * [Try YunoHost](/try) - * [Choosing hardware](/hardware) - * [About the friendliness of internet service providers](/isp) + * [How to host yourself](howtohostyourself) + * [Choosing hardware](/hardware) + * [About the friendliness of internet service providers](/isp) * [Installing YunoHost](/install) * [On a regular computer](/install_iso) * [On a dedicated or a virtual private server](/install_on_vps) diff --git a/admindoc_fr.md b/admindoc_fr.md index ad504326..3a65669e 100644 --- a/admindoc_fr.md +++ b/admindoc_fr.md @@ -3,10 +3,10 @@ * Découvrir l'auto-hébergement * [Qu'est-ce que l'auto-hébergement](/selfhosting_fr) * [Qu'est-ce que YunoHost](/whatsyunohost_fr) -* Avant de se lancer * [Essayer YunoHost](/try_fr) - * [Matériel compatible](/hardware_fr) - * [À propos des fournisseurs d'accès internet](/isp_fr) + * [Choisir son mode d'hébergement](howtohostyourself-fr) + * [Matériel compatible](/hardware_fr) + * [À propos des fournisseurs d'accès internet](/isp_fr) * [Guide d’installation](/install_fr) * [Sur un ordinateur "standard"](/install_iso_fr) * [Sur un serveur dédié ou virtuel (VPS)](/install_on_vps_fr) diff --git a/howtohostyourself.md b/howtohostyourself.md new file mode 100644 index 00000000..03a5a7c3 --- /dev/null +++ b/howtohostyourself.md @@ -0,0 +1,83 @@ +# How to host yourself ? + +You can host yourself at home (on a small computer), or on a remote server. Each solution has their pros and cons : + +### At home, for instance on an ARM board or an old computer + +You can host yourself at home with an ARM board or a re-purposed regular computer, connected to our home router/box. + +- **Pros** : you will have physical control on the machine and only need to buy the hardware ; +- **Cons** : you will have to [manually configure your internet box](isp_box_config) and [might be limited by your ISP](isp). + +### At home, behind a VPN + +A VPN is an encrypted tunnel between two machines. In practice, it allows to make it "as is" you were connected to the Internet from somewhere else. This allows to still host yourself at home while bypassing possible limitations from your ISP. See also [the Internet Cube project](https://internetcu.be/) and [the FFDN](https://www.ffdn.org/). + +- **Pros** : you will have physical control on the machine, and the VPN hides your traffic from your ISP and allows to bypass its limitations ; +- **Cons** : you will have to pay a monthly subscription for the VPN. + +### On a remote server (VPS or dedicated server) + +You can rent a virtual private server or a dedicated machine to [associative](https://db.ffdn.org/) or commercial "Cloud" providers. + +- **Pros** : your server and its internet connectivity will be fast ; +- **Cons** : you will have to pay a monthly subscription and won't have physical control on your server. + +### Summary + +
+ | At home (e.g. ARM board, old computer) |
+ At home behind a VPN |
+ On a remote server (VPS or dedicated) |
+
---|---|---|---|
Hardware cost | +About 50€ (e.g. a Raspberry Pi) |
+ None | +|
Monthly cost | +Neglictible (electricity) |
+ Around 5€ (VPN) |
+ Starting at ~3€ (VPS) |
+
Physical control on the machine |
+ Yes | +Yes | +No | +
Manual port routing required |
+ Yes | +No | +No | +
Possible ISP limitations | +Yes (see [here](/isp)) |
+ Bypassed by VPN | +Typically no | +
CPU | +Typically ~1 GHz | +~2 GHz (Digital Ocean droplet) |
+ |
RAM | +Typically 500 Mo or 1 Go | +Related to server cost | +|
Internet connectivity | +Depends of home connectivity | +Typically pretty good | +
+ | À la maison (e.g. carte ARM, vieil ordi) |
+ À la maison derrière un VPN |
+ Sur un serveur distantr (VPS ou dédié) |
+
---|---|---|---|
Coût matériel | +Autour de 50€ (e.g. un Raspberry Pi) |
+ Aucun | +|
Coût mensuel | +Negligeable (electricité) |
+ Autour de 5€ (VPN) |
+ À partir de ~3€ (VPS) |
+
Contrôle physique sur la machine |
+ Oui | +Oui | +Non | +
Routage manuel des ports |
+ Oui | +Non | +Non | +
Limitation possibles par le FAI |
+ Oui (voir [ici](/isp)) |
+ Contournées par le VPN | +Généralement non | +
CPU | +Généralement ~1 GHz | +~2 GHz (droplet Digital Ocean) |
+ |
RAM | +Generalement 500 Mo ou 1 Go | +En fonction du prix | +|
Connectivité internet | +Dépends de la connexion | +Géneralement bonne | +