Empfohlene Hosting-Anbieter für Selbsthoster

Diese Anleitung richtet sich an Personen, die keine Systemadministratoren sind und Discourse einfach nur zum Laufen bringen möchten. Dies ist eine Liste von Cloud-Hosting-Diensten, die als zuverlässig gelten und für Anfänger so einfach zu nutzen sind, dass sie mit minimalen Anpassungen schnell einsatzbereit sind. Sie sollten in der Lage sein, ein Konto und einen Server für Ihre Discourse-Instanz zu erstellen und die Aufgabe in knapp 30 Minuten abzuschließen.

Ich habe Discourse auf jedem dieser Dienste installiert, eine E-Mail von Discourse erhalten und mich damit als Administrator eingeloggt. Für alle diese Dienste funktionieren die standardmäßigen Install Cloud-Anweisungen einwandfrei.

Was ist mit AWS, Azure und Google Cloud?

Wenn Sie viele Stunden mit Bash verbracht haben, wissen, was die Ports 80, 443 und 22 sind, und mit Firewalls, Partitionen und S3-Buckets vertraut sind, wird jeder dieser Dienste einwandfrei funktionieren. Wenn Sie Ihre Probleme noch nie über Stack Exchange gelöst haben, sollten Sie sich wahrscheinlich von diesen Anbietern fernhalten. Dies sind die launischen Hot Rods der Hosting-Welt. Diese Anleitung soll Ihnen helfen, etwas zu finden, das eher einem Honda Civic als einem Formel-1-Rennwagen entspricht.

Was ist mit OtherGreatService?

Einfach und Zuverlässig

Die folgende Tabelle bietet einen Vergleich dieser benutzerfreundlichen Anbieter. Die Spalte „Build-Zeit“ ist das Ergebnis von:

time ./launcher rebuild app

Es handelt sich nicht um einen aussagekräftigen Benchmark, sondern um eine grobe Messung der Geschwindigkeit von CPU, Festplatte und Netzwerk. Ihre Ergebnisse können abweichen. Man kann jedoch sehen, dass die „optimierte“ Instanz von Digital Ocean fast doppelt so schnell ist wie die Standard-Instanz mit 1 GB.

Anbieter Preis Festplatte CPU GB RAM Build-Zeit Rechenzentren
Digital Ocean 6 $ 25 GB 1 1 10 Min. US (2), NL, SG, UK, DE, CA, IN, AU
DO Optimiert 42 $ 25 GB 2 4 5 Min. 47 Sek. US (2), NL, SG, UK, DE, CA, IN
Hetzner CX22 (x86) 3,95 € 40 GB 2 4 9 Min. 56 Sek. DE, FI, SG, US (2)
Hetzner CAX11 (arm64) 3,95 € 40 GB 2 4 5 Min. 45 Sek. DE, FI
Lightsail 10 $ 30 GB 1 2 8 Min. 17 Sek. US (3), JP, SG, AU, IN
Linode 1024 5 $ 20 GB 1 1 9 Min. 46 Sek. US (3), UK, DE, SG, JP
Scaleway 10 € 10 GB 2 2 ---- FR, PL, NL
Upcloud 10 $ 30 GB 1 2 7 Min. 22 Sek. DE, FI, NL, JP, UK, US
Vultr 5 $ 24 GB 1 1 8 Min. US (7), NL, FR, DE, UK, JP, SG, AU

Hinweis: Die Build-Zeiten hängen von der Anzahl der Beiträge, Plugins und vielen anderen Faktoren ab. Je mehr Ihre Site wächst, desto länger wird die Build-Zeit.

Anbieterhinweise

Dies sind Hinweise zu einzelnen Anbietern. Wenn Sie gute Erfahrungen mit einem von ihnen gemacht haben, können Sie gerne Ihre Kommentare hier hinzufügen. Wenn Sie negative Erfahrungen gemacht haben, fügen Sie diese bitte als Antwort hinzu.

Amazon AWS/Lightsail

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

Super einfach! Klicken Sie auf einen Button, um ein Fenster mit einer eingeloggt SSH-Verbindung zu öffnen.

Es wird ubuntu@hostname statt root@hostname verwendet. Das ist nicht das, was die meisten Sites tun, aber es ist genau wie bei AWS und etwas sicherer.

Digital Ocean

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

Dies ist der einfachste, benutzerfreundlichste und am häufigsten genutzte Anbieter, und seit dem jüngsten Preisverfall ist er wieder sehr wettbewerbsfähig. Ein Problem für Personen außerhalb der USA besteht darin, dass sie die Kontoerstellung manchmal erschweren und ausgehende SMTP-Ports blockieren (mein Standard-Installations-Skript umgeht dieses Problem durch die Verwendung von Port 2525, das von Mailgun und anderen Anbietern unterstützt wird).

Hetzner

Preise: 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

Hinweis: Entfernen Sie den zu kleinen Swap-Speicher, der automatisch erstellt wird. discourse-setup erstellt für Sie eine 2-GB-Swap-Datei.

Scaleway

Akzeptiert Kredit- und Debitkarten sowie SEPA-Lastschrift.

Upcloud

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

Keine Probleme oder Frustrationen bei der Kontoerstellung und dem Start eines Servers.

Vultr

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

Akzeptiert PayPal, Bitcoin und Alipay.

Ich hatte keine Probleme oder Frustrationen bei der Kontoerstellung und der Installation.

contabo.com:

Vielleicht das Günstigste hier: 4 Kerne/4 GB RAM/5,80 USD + MwSt. (Stand: 10. März 2025)

Alibaba Cloud

Simple Application Server, Preis:

Was ist mit XXX?

Wenn Sie einen Anbieter nutzen, der einfach einzurichten ist und zuverlässig funktioniert, können Sie gerne einen Kommentar mit Ihrer Empfehlung hinterlassen. Alternativ können Sie diesen Beitrag bearbeiten, um Ihre eigenen Erfahrungen hinzuzufügen.

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.

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.

It does, especially with 2GB or below.

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.

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.)

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.

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.

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

$4.50

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.

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.

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.

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.

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).

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?

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:

Sie müssen berücksichtigen, was passiert, wenn ein Problem auftritt. Beim Einrichten ist das kein großes Problem, aber sobald Sie Ihr Forum live geschaltet haben, ist Ausfallzeit schlecht.

Wenn keine Probleme auftreten, ist das Selbsthosting von Discourse auf einem VPS eine gute Option bei einem knappen Budget. Doch bereits ein einziges Problem kann 5 bis 20 Stunden Ihrer Zeit in Anspruch nehmen. Wie viel ist Ihre Zeit also wert? Und wie stark ist Ihr Budget eingeschränkt? Ihre Lösung wird irgendwo zwischen diesen beiden Parametern liegen.

Ich empfehle auch, dass Sie herausfinden, welche Plugins Sie voraussichtlich benötigen, da dies potenzielle Auswirkungen hat. Plugins scheinen die Quelle vieler schwieriger Probleme zu sein, mit denen Selbsthoster konfrontiert sind. Sie können Ihr Risikoprofil also ermitteln, indem Sie diese Fragen beantworten. Je höher das Risiko, desto attraktiver wird Discourse-Hosting:

  • Muss ich offizielle Plugins verwenden? Geringes Risiko.
  • Muss ich Drittanbieter-Plugins verwenden, also nicht offiziell unterstützte? Hohes Risiko.
  • Sind es gut unterstützte Drittanbieter-Plugins? Mittleres Risiko.

Die Discourse-Hosting-Pläne verschiedener Anbieter basieren teilweise auf unterschiedlichen Sammlungen vorinstallierter Plugins, z. B.: