mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Add a page to compare the different self-hosting ways
This commit is contained in:
parent
cf172a7eeb
commit
cadae6cf37
4 changed files with 172 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
83
howtohostyourself.md
Normal file
83
howtohostyourself.md
Normal file
|
@ -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
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th style="text-align:center;">At home<br><small>(e.g. ARM board, old computer)</small></th>
|
||||
<th style="text-align:center;">At home<br>behind a VPN</th>
|
||||
<th style="text-align:center;">On a remote server<br>(VPS or dedicated)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align:center;">Hardware cost</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">About 50€ <br><small>(e.g. a Raspberry Pi)</small></td>
|
||||
<td style="text-align:center;" class="success">None</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Monthly cost</td>
|
||||
<td style="text-align:center;" class="success">Neglictible<br><small>(electricity)</small></td>
|
||||
<td style="text-align:center;" class="warning">Around 5€ <br><small>(VPN)</small></td>
|
||||
<td style="text-align:center;" class="warning">Starting at ~3€ <br><small>(VPS)</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Physical control<br>on the machine</td>
|
||||
<td style="text-align:center;" class="success">Yes</td>
|
||||
<td style="text-align:center;" class="success">Yes</td>
|
||||
<td style="text-align:center;" class="danger">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Manual port <br>routing required</td>
|
||||
<td style="text-align:center;" class="warning">Yes</td>
|
||||
<td style="text-align:center;" class="success">No</td>
|
||||
<td style="text-align:center;" class="success">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Possible ISP limitations</td>
|
||||
<td style="text-align:center;" class="danger">Yes <br><small>(see [here](/isp))</small></td>
|
||||
<td style="text-align:center;" class="success">Bypassed by VPN</td>
|
||||
<td style="text-align:center;" class="success">Typically no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">CPU</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Typically ~1 GHz</td>
|
||||
<td style="text-align:center;" class="success">~2 GHz <br><small>(Digital Ocean droplet)</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">RAM</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Typically 500 Mo or 1 Go</td>
|
||||
<td style="text-align:center;" class="warning">Related to server cost</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Internet connectivity</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Depends of home connectivity</td>
|
||||
<td style="text-align:center;" class="success">Typically pretty good</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
83
howtohostyourself_fr.md
Normal file
83
howtohostyourself_fr.md
Normal file
|
@ -0,0 +1,83 @@
|
|||
# Choisir son mode d'autohébergement
|
||||
|
||||
Vous pouvez vous auto-héberger à la maison (sur un petit ordinateur), ou sur un serveur distant. Chaque solution a ses avantages et inconvénients :
|
||||
|
||||
### À la maison, par exemple sur une carte ARM ou un ancien ordinateur
|
||||
|
||||
Vous pouvez vous hébergez chez vous, sur une carte ARM ou un vieil ordinateur, connecté à votre box internet.
|
||||
|
||||
- **Avantages** : vous aurez un contrôle physique sur la machine et avez seulement besoin d'acheter le matériel initial ;
|
||||
- **Inconvénients** : il vous faudra [configuré manuellement votre box internet](isp_box_config) et serez possiblement [limité par certains aspects de votre fournisseur d'accès internet](isp).
|
||||
|
||||
### À la maison, derrière un VPN
|
||||
|
||||
Un VPN est un tunnel chiffré entre deux machines. En pratique, cela permet de faire "comme si" une machine était connecté depuis ailleurs. Ceci permet de s'auto-héberger à la maison tout en contournant les limitations du fournisseur d'accès internet. Voir aussi [le projet Brique Internet](https://labriqueinter.net/) et [la FFDN](https://www.ffdn.org/).
|
||||
|
||||
- **Avantages** : vous aurez un contrôle physique sur la machine, et le VPN permettra de cacher votre traffic vis-à-vis de votre FAI ainsi que de contourner ses limitations ;
|
||||
- **Inconvénients** : il vous faudra payer des frais mensuels pour le VPN.
|
||||
|
||||
### Sur un serveur distant (VPS ou serveur dédié)
|
||||
|
||||
Vous pouvez louer un serveur privé virtuel ou une machine dédiée à des hébergeurs [associatifs](https://db.ffdn.org/) ou commerciaux.
|
||||
|
||||
- **Avantages** : votre serveur sera rapide et la connectivité internet sera bonne ;
|
||||
- **Inconvénients** : il vous faudra payer des frais mensuels pour la machine, et vous n'aurez pas de contrôle physique dessus.
|
||||
|
||||
### Résumé
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th style="text-align:center;">À la maison<br><small>(e.g. carte ARM, vieil ordi)</small></th>
|
||||
<th style="text-align:center;">À la maison<br>derrière un VPN</th>
|
||||
<th style="text-align:center;">Sur un serveur distantr<br>(VPS ou dédié)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align:center;">Coût matériel</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Autour de 50€ <br><small>(e.g. un Raspberry Pi)</small></td>
|
||||
<td style="text-align:center;" class="success">Aucun</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Coût mensuel</td>
|
||||
<td style="text-align:center;" class="success">Negligeable<br><small>(electricité)</small></td>
|
||||
<td style="text-align:center;" class="warning">Autour de 5€ <br><small>(VPN)</small></td>
|
||||
<td style="text-align:center;" class="warning">À partir de ~3€ <br><small>(VPS)</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Contrôle physique<br>sur la machine</td>
|
||||
<td style="text-align:center;" class="success">Oui</td>
|
||||
<td style="text-align:center;" class="success">Oui</td>
|
||||
<td style="text-align:center;" class="danger">Non</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Routage manuel <br>des ports</td>
|
||||
<td style="text-align:center;" class="warning">Oui</td>
|
||||
<td style="text-align:center;" class="success">Non</td>
|
||||
<td style="text-align:center;" class="success">Non</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Limitation possibles <br >par le FAI</td>
|
||||
<td style="text-align:center;" class="danger">Oui <br><small>(voir [ici](/isp))</small></td>
|
||||
<td style="text-align:center;" class="success">Contournées par le VPN</td>
|
||||
<td style="text-align:center;" class="success">Généralement non</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">CPU</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Généralement ~1 GHz</td>
|
||||
<td style="text-align:center;" class="success">~2 GHz <br><small>(droplet Digital Ocean)</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">RAM</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Generalement 500 Mo ou 1 Go</td>
|
||||
<td style="text-align:center;" class="warning">En fonction du prix</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;">Connectivité internet</td>
|
||||
<td style="text-align:center;" class="warning" colspan="2">Dépends de la connexion</td>
|
||||
<td style="text-align:center;" class="success">Géneralement bonne</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Add table
Reference in a new issue