Fournisseurs d'hébergement recommandés pour les auto-hébergeurs

Ce guide est destiné aux personnes qui ne sont pas administrateurs système et qui souhaitent simplement faire fonctionner Discourse. Il s’agit d’une liste de services d’hébergement cloud réputés fiables et suffisamment simples pour qu’un novice puisse les mettre en place avec un minimum de manipulations. Vous devriez pouvoir créer un compte et un serveur pour exécuter votre instance Discourse, et tout cela en près de 30 minutes.

J’ai installé Discourse sur chacun de ces services, reçu un e-mail de Discourse et utilisé celui-ci pour me connecter en tant qu’administrateur. Pour tous ces services, les instructions standard Installer Cloud fonctionnent parfaitement.

Qu’en est-il d’AWS, Azure et Google Cloud ?

Si vous avez passé de nombreuses heures à utiliser bash, si vous savez ce que sont les ports 80, 443 et 22, et si vous êtes familier avec les pare-feu, les partitions et ce qu’est un bucket S3, l’un de ces services fonctionnera parfaitement. Si vous n’avez jamais trouvé de solution à vos problèmes en utilisant Stack Exchange, il vaut probablement mieux éviter ces fournisseurs. Ce sont les bolides capricieux du monde de l’hébergement. Ce guide vise à vous aider à trouver quelque chose de plus proche d’une Honda Civic que d’une voiture de course de Formule 1.

Qu’en est-il d’OtherGreatService ?

Simple et Fiable

Le tableau ci-dessous propose une comparaison de ces fournisseurs faciles à utiliser. La colonne « Temps de construction » est le résultat de :

time ./launcher rebuild app

Ce n’est pas un benchmark significatif, mais une mesure grossière de la vitesse du CPU, du disque et du réseau. Vos résultats peuvent varier. Vous pouvez voir cependant que l’instance « optimisée » de Digital Ocean est presque deux fois plus rapide que l’instance standard de 1 Go.

Fournisseur Prix Disque CPU Go RAM Temps de construction Centres de données
Digital Ocean 6 $ 25 Go 1 1 10 min US (2), NL, SG, UK, DE, CA, IN, AU
DO Optimisé 42 $ 25 Go 2 4 5 min 47 s US (2), NL, SG, UK, DE, CA, IN
Hetzner CX22 (x86) 3,95 € 40 Go 2 4 9 min 56 s DE, FI, SG, US (2)
Hetzner CAX11 (arm64) 3,95 € 40 Go 2 4 5 min 45 s DE, FI
Lightsail 10 $ 30 Go 1 2 8 min 17 s US (3), JP, SG, AU, IN
Linode 1024 5 $ 20 Go 1 1 9 min 46 s US (3), UK, DE, SG, JP
Scaleway 10 € 10 Go 2 2 ---- FR, PL, NL
Upcloud 10 $ 30 Go 1 2 7 min 22 s DE, FI, NL, JP, UK, US
Vultr 5 $ 24 Go 1 1 8 min US (7), NL, FR, DE, UK, JP, SG, AU

Note : Les temps de construction dépendent du nombre de publications, des plugins et de nombreux autres facteurs. Plus votre site grandit, plus cela prendra de temps.

Notes sur les fournisseurs

Ce sont des notes sur les fournisseurs individuels. Si vous avez eu de bonnes expériences avec l’un d’entre eux, n’hésitez pas à ajouter vos commentaires ici. Si vous avez de mauvaises choses à dire, veuillez les ajouter en tant que réponse.

Amazon AWS/Lightsail

Tarification : https://aws.amazon.com/lightsail/pricing/

Super facile ! Cliquez sur un bouton pour ouvrir une fenêtre avec une connexion SSH connectée.

Utilise ubuntu@hostname plutôt que root@hostname. Ce n’est pas ce que font la plupart des sites, mais c’est comme AWS et un peu plus sécurisé.

Digital Ocean

Tarification : https://www.digitalocean.com/pricing/

C’est le fournisseur le plus simple, le plus facile et le plus utilisé, et depuis la récente baisse de prix, il est à nouveau très compétitif. Un problème pour les personnes qui ne sont pas aux États-Unis est qu’ils rendent parfois plus difficile la création d’un compte et bloquent les ports SMTP sortants (mon script d’installation standard contourne ce problème en utilisant le port 2525, que Mailgun et d’autres fournisseurs prennent en charge).

Hetzner

Tarification : https://www.hetzner.com/cloud#pricing

https://meta.discourse.org/t/hetzner-launches-a-vps-service/78759/6

Linode

https://www.linode.com/pricing

https://meta.discourse.org/t/suggestion-for-good-vps-to-host-discourse-digital-ocean-or-linode/8852/35?u=pfaffman

Note : Supprimez l’espace d’échange trop petit qui est automatiquement créé. discourse-setup créera un fichier d’échange de 2 Go pour vous.

Scaleway

Accepte les cartes de crédit et de débit ainsi que le prélèvement SEPA

Upcloud

https://www.upcloud.com/pricing/

Aucun problème ou frustration lors de la création d’un compte et du démarrage d’un serveur.

Vultr

https://www.vultr.com/pricing/

Accepte PayPal, Bitcoin, Alipay

Je n’ai rencontré aucun problème ou frustration lors de la création d’un compte et de l’installation.

contabo.com :

Peut-être le moins cher ici : 4 cœurs / 4 Go de RAM / 5,80 $ + taxes. (au 10 mars 2025)

Alibaba Cloud

Serveur d’application simple, prix :

Qu’en est-il de XXX ?

Si vous utilisez un fournisseur facile à configurer et fiable, n’hésitez pas à laisser un commentaire avec votre recommandation. Sinon, vous pouvez modifier ce message pour ajouter vos propres expériences.

68 « J'aime »

Great overview Jay, thanks! I did notice one thing though:

This comparison isn’t entirely fair; you’re comparing a 1 CPU/1GB droplet to a 2 CPU/4GB ‘optimized’ one. They also offer a $20/month regular droplet with 2 cpu’s and 4GB Ram - it would be interesting to see how this performs when compared to the optimized version.

3 « J'aime »

It’s not intended to be.

Perhaps. My guess is that having more ram on the same slower processor as the 1GB droplet won’t make that much different on a build. Once someone gets to that point, though, this guide isn’t much help. If you have a huge database, an 8GB “slow” droplet might outperform a 4GB “fast” one. It’s not really a very useful statistic for the Real World.

5 « J'aime »

It does, especially with 2GB or below.

1 « J'aime »

Oh. Right! Because swap. Duh.

The point if this guide, though, is just to get people to be able to do an install, not to make decisions about whether this host or that host is better for their unique situation.

2 « J'aime »

Not sure if this is super important, but it might be worth noting (especially for novices) that their support is available only during (German) office hours. (I don’t mean to discourage anyone from using them - I’m a happy Hetzner user myself - just an FYI.)

7 « J'aime »

I am using UCloud(Hosting provider in China)
because I have coupon. it’s cheaper.
anyway, my point is I would post about UCloud hosting Discourse after using it for awhile.
in here & my blog. hope it can help other people.

3 « J'aime »

I just did a rebuild (with multiple plugins installed) and it finished in pretty much exactly 7 minutes. Not sure where the variation comes from, but I thought I’d mention it cause that makes Hetzner even faster than UpCloud.

4 « J'aime »

https://www.alibabacloud.com/product/ecs

$4.50

1 « J'aime »

6 posts were split to a new topic: Set up some email

What does “optimized” means and how can we “optimize” our own servers?

Like we mention " Digital Ocean Optimized" instances in the table on the OP? That’s just marketing lingo for a CPU with usually 3.0GHz+ of clock speed. Like the AWS C5.large family.

9 « J'aime »

I am on Ramnode. Rebuild time is 8m22.374s.

KVM (necessary to run docker), 2cpu 2.4GHz, 2GB ram + 4swap, 40GB ssd, $10 per month (12 for NVMe).

It has 1 datacenter in EU, 4 in US. Cpanel, reverse-dns, quick support team.
Recommended for those who like everything under control.

Currently my instance is running only for tests, so I cannot say yet, how stable it can be in production mode with a lot of users online.

7 « J'aime »

I’ve just spun up a Discourse installation there in the last couple of weeks, but I’ve been using Contabo for other VPS needs for a bit over a year. Pricing starts at 3.99 EUR/mo for a “SSD-boosted” instance with two cores, 4 GB RAM, and 300 GB storage, or 4.99 EUR/mo for an all-SSD instance with four cores, 8 GB RAM, and 200 GB storage. Setup isn’t quite as quick as DO, but they’ll run any major Linux distro.

Rebuild time on my small SSD instance is 5 minutes, 1 sec.

11 « J'aime »

Forgive me if this seems like a silly question, I definitely fall under this category:

I don’t know what I’m doiiiing! :tired_face: My head is spinning from even the minimal amount of info I’ve read here on meta!

Does Digital Ocean offer in-house server maintenance, management and backups? I’m referring to this post from a different topic.

Like, will those services be included in my plan if I self host with DO? Or will I have to seek someone like “Literate Computing, LLC” to help me manage my server instance with DO?

This whole realm of self hosting is completely mysterious to me, but I’d like to give it an honest consideration so I can confidently make a hosting decision by weighing the major pros/cons of Discourse hosting vs self hosting for my specific situation.

3 « J'aime »

They do not. They provide a virtual machine. If it’s running, they are doing their job. They do provide backups of the entire virtual machine, which might be all you need.

If you want backups, updates, and someone to care if Discourse isn’t working, you want a hosted solution or to pay someone to manage your “self-hosted” site.

If you want to give self-hosting a try, you can always switch later unless something calamitous happens like you delete the droplet or lose control of your digital ocean account (I’ve never heard of either of those things happening).

5 « J'aime »

Thank you for explaining this to me!

So, budget is kind of tight for me. Two questions:

1. Are the different package tiers still applicable if I wanted to self host?

All the site says is this:

Does this mean: Tier package price + installation fee?

Or is it just a flat rate of $99 for a one-size-fits-all Discourse instance and installation?


2. Is self hosting really cheaper?

This is the major deciding factor in making the decision to self host or not.

I will probably be more than fine going with the Basic tier instance for my community. Would the

  • time
  • money
  • and effort

of self hosting really contribute to the greater value of self hosting over a Discourse hosted instance?

2 « J'aime »

If you’re that unsure, then just having Discourse-hosted site would probably be the best - and easiest for you. While that costs $99 for the installation (by Discourse) and $100/month, there is nothing for you to do regarding upgrades and backups. These are done by Discourse. Also, should any problems arise, Discourse will handle that. It is a “No worries” situation. You also get a 14-day free trial to decide if this is right for you.
On the other hand, if you don’t want to pay $100/month, you can have Discourse do the installation for you on Digital Ocean (DO) where Discourse will charge $99 installation and DO will charge you $5/month for hosting. But should any problems arise, you will be responsible to fix them. That’s why it says “this option is completely self-support after the initial install.” But this forum is always here to help as much as they can. :smiley:
If you were tech savvy enough, you could do the install yourself on a DO droplet and only pay the $5/month to DO. You still have to provide your own support.

That would depend upon you. If you have no idea as to what you are doing, or have a minimal knowledge of this, what you may save in monthly costs could later on cost you in something not working properly, downtime, aggravation, frustration, etc… And you could end up paying someone to fix things for you if you were unable to implement on your own any fixes suggestion on this forum.

If you know what you are doing, self-hosting is cheaper. If you don’t, self-hosting could be a mild nightmare. In my case, I was suddenly given just 3 weeks to come up with a forum to replace an existing one that was going to be shut down. After weighing the options, I went with the “no hassles” option of a Discourse-hosted forum. I bought the domain, Discourse did the install and maintains it. I just have to contend with the users. :slightly_smiling_face:

4 « J'aime »

Vous devez prendre en compte ce qui se passe en cas de problème. Lors de la configuration, ce n’est pas un gros souci, mais une fois votre forum lancé, les temps d’arrêt sont une mauvaise nouvelle.

Si vous ne rencontrez aucun problème, l’auto-hébergement de Discourse sur un VPS offre un bon rapport qualité-prix pour un budget serré. Cependant, il suffit d’un seul problème pour vous coûter entre 5 et 20 heures de votre temps. Alors, combien vaut votre temps ? Et à quel point votre budget est-il contraint ? Votre solution se situera quelque part entre ces deux paramètres.

Je vous recommande également d’identifier les plug-ins dont vous aurez probablement besoin, car cela peut avoir un impact potentiel. Les plug-ins semblent être à l’origine de nombreux problèmes difficiles rencontrés par les auto-hébergeurs. Vous pouvez donc évaluer votre profil de risque en répondant à ces questions. Plus le risque est élevé, plus l’hébergement Discourse devient attractif :

  • Dois-je utiliser des plug-ins officiels ? Risque faible.
  • Dois-je utiliser des plug-ins tiers, c’est-à-dire non officiellement pris en charge ? Risque élevé.
  • S’agit-il de plug-ins tiers bien pris en charge ? Risque moyen.

Les plans d’hébergement Discourse proposés par divers fournisseurs sont en partie basés sur des collections variables de plug-ins préinstallés, par exemple :

9 « J'aime »