自己ホスティングユーザー向け推奨ホスティングプロバイダー

このガイドは、システム管理者ではなく、単に Discourse を動かしたいと考えている人向けに作成されたものです。信頼性が高く、初心者でも最小限の手間で設定・運用できるクラウドホスティングサービスの一覧です。アカウントを作成し、Discourse インスタンスを実行するサーバーを立ち上げ、30 分弱で完了させることが可能です。

私はこれらの各サービスで Discourse をインストールし、Discourse から届いたメールを使用して管理者としてログインしました。これらすべてにおいて、標準の クラウドインストール ガイドが問題なく機能します。

AWS、Azure、Google Cloud については?

bash を何時間も使った経験があり、ポート 80、443、22 が何かを知り、ファイアウォール、パーティション、S3 バケットの概念に慣れているなら、これらのいずれも問題なく動作します。しかし、Stack Exchange で問題の解決策を見つけたことがないなら、これらのプロバイダーは避けたほうがよいでしょう。これらはホスティング業界の「繊細なホットロッド」です。このガイドは、F1 レーサーではなく、ホンダ・シビックのようなものを見つけるお手伝いをすることを目的としています。

OtherGreatService については?

簡単かつ信頼性が高い

以下の表は、これらの使いやすいプロバイダーを比較したものです。「ビルド時間」の列は、次のコマンドの実行結果です。

time ./launcher rebuild app

これは有意義なベンチマークではありませんが、CPU、ディスク、ネットワークの速度を大まかに示す指標です。環境によって結果は異なる場合があります。ただし、Digital Ocean の「最適化」インスタンスは、標準の 1GB インスタンスのほぼ 2 倍速いことがわかります。

プロバイダー 価格 ディスク CPU RAM (GB) ビルド時間 データセンター
Digital Ocean $6 25GB 1 1 10 分 米国 (2)、オランダ、シンガポール、英国、ドイツ、カナダ、インド、オーストラリア
DO 最適化 $42 25GB 2 4 5 分 47 秒 米国 (2)、オランダ、シンガポール、英国、ドイツ、カナダ、インド
Hetzner CX22 (x86) €3.95 40GB 2 4 9 分 56 秒 ドイツ、フィンランド、シンガポール、米国 (2)
Hetzner CAX11 (arm64) €3.95 40GB 2 4 5 分 45 秒 ドイツ、フィンランド
Lightsail $10 30GB 1 2 8 分 17 秒 米国 (3)、日本、シンガポール、オーストラリア、インド
Linode 1024 $5 20GB 1 1 9 分 46 秒 米国 (3)、英国、ドイツ、シンガポール、日本
Scaleway €10 10GB 2 2 ---- フランス、ポーランド、オランダ
Upcloud $10 30GB 1 2 7 分 22 秒 ドイツ、フィンランド、オランダ、日本、英国、米国
Vultr $5 24GB 1 1 8 分 米国 (7)、オランダ、フランス、ドイツ、英国、日本、シンガポール、オーストラリア

注:ビルド時間は投稿数、プラグイン、その他の多くの要因に依存します。サイトが成長するほど、時間がかかります。

プロバイダーに関するメモ

以下は各プロバイダーに関するメモです。もし良い経験があれば、コメントを追加してください。悪い経験がある場合は、返信として追加してください。

Amazon AWS/Lightsail

価格:\u003chttps://aws.amazon.com/lightsail/pricing/\u003e

非常に簡単です!ボタンをクリックすると、SSH 接続でログイン済みのウィンドウが開きます。

root@hostname ではなく、ubuntu@hostname を使用します。多くのサイトでは行われていませんが、AWS と同様で、ややセキュリティが高いです。

Digital Ocean

価格:\u003chttps://www.digitalocean.com/pricing/\u003e

最もシンプルで使いやすく、最も利用されているプロバイダーです。最近の値下げにより、再び非常に競争力があります。米国にいない人にとっては、アカウント作成が難しくなったり、送信 SMTP ポートがブロックされたりする場合があります(私の標準インストールスクリプトは、Mailgun や他のプロバイダーがサポートするポート 2525 を使用することでこの問題を回避しています)。

Hetzner

価格:\u003chttps://www.hetzner.com/cloud#pricing\u003e

\u003chttps://meta.discourse.org/t/hetzner-launches-a-vps-service/78759/6\u003e

Linode

\u003chttps://www.linode.com/pricing\u003e

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

注:自動的に作成されすぎるスワップ領域を削除してください。discourse-setup が 2GB のスワップファイルを自動的に作成します。

Scaleway

クレジットカード、デビットカード、SEPA 直接振込に対応

Upcloud

\u003chttps://www.upcloud.com/pricing/\u003e

アカウント作成やサーバー起動に問題や不満はありませんでした。

Vultr

\u003chttps://www.vultr.com/pricing/\u003e

PayPal、Bitcoin、Alipay を対応

アカウント作成とインストールに問題や不満はありませんでした。

contabo.com:

おそらくここでの最安値:4 コア/4GB RAM/5.80 ドル+ 税金。(2025 年 3 月 10 日時点)

Alibaba Cloud

Simple Application Server、価格:

XXX については?

設定が簡単で信頼性のあるプロバイダーを使用している場合は、推奨事項をコメントとして残してください。または、この投稿を編集してご自身の経験を追加することもできます。

「いいね!」 68

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

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

It does, especially with 2GB or below.

「いいね!」 1

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

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

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

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

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

$4.50

「いいね!」 1

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

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

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

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

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

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

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

問題が発生した場合の対応も考慮する必要があります。セットアップ段階では大きな問題ではありませんが、フォーラムを立ち上げた後、ダウンタイムは致命的な問題となります。

問題が発生しなければ、VPS 上で Discourse を自己ホスティングすることは、予算が限られている場合でもコストパフォーマンスが良い選択肢です。しかし、たった一つの問題が発生するだけで、5〜20 時間の時間を費やすことになります。では、あなたの時間はどれだけの価値がありますか?また、予算はどの程度制約されていますか?あなたの最適な解決策は、この二つのパラメータの間に位置することになります。

また、必要となる可能性のあるプラグインを事前に洗い出すことをお勧めします。プラグインは、自己ホスティングユーザーが直面する多くの困難な問題の源泉となっているため、以下の質問に答えることでリスクプロファイルを把握できます。リスクが高いほど、Discourse のホスティングサービスの魅力は増します。

  • 公式プラグインを使用する必要がありますか?→ リスクは低い。
  • サードパーティ製のプラグイン(公式サポートされていないもの)を使用する必要がありますか?→ リスクは高い。
  • それらのサードパーティ製プラグインはサポートが手厚いですか?→ リスクは中程度。

さまざまなプロバイダーが提供する Discourse ホスティングプランは、事前インストールされているプラグインの組み合わせによって異なります。例えば:

「いいね!」 9