Provedores de hospedagem recomendados para auto-hospeadores

Este guia destina-se a pessoas que não são administradores de sistema e que apenas desejam fazer o Discourse funcionar. Esta é uma lista de serviços de hospedagem em nuvem que são considerados confiáveis e suficientemente simples para que um iniciante os configure e coloque em funcionamento com o mínimo de ajustes possíveis. Você deverá ser capaz de criar uma conta e um servidor para executar sua instância do Discourse e ainda conseguir realizar a tarefa em algo muito próximo de 30 minutos.

Instalei o Discourse em cada um desses serviços, recebi um e-mail do Discourse e o usei para fazer login como administrador. Para todos eles, as instruções padrão de Instalar na Nuvem funcionam perfeitamente.

E quanto à AWS, Azure e Google Cloud?

Se você passou muitas horas usando bash, sabe o que são as portas 80, 443 e 22, e está familiarizado com firewalls, partições e o que é um bucket S3, qualquer um desses funcionará perfeitamente. Se você nunca encontrou uma solução para seu problema usando o Stack Exchange, provavelmente deve ficar longe desses provedores. Estes são os carros esportivos exigentes do mundo da hospedagem. Este guia visa ajudá-lo a encontrar algo mais parecido com um Honda Civic do que um carro de Fórmula 1.

E quanto ao OtherGreatService?

Fácil e Confiável

A tabela abaixo fornece uma comparação desses provedores de fácil uso. A coluna “Tempo de compilação” é o resultado de

time ./launcher rebuild app

Não é um benchmark significativo, mas uma medida grosseira de quão rápido são a CPU, o disco e a rede. Seus resultados podem variar. Você pode ver, no entanto, que a instância “otimizada” da Digital Ocean é quase duas vezes mais rápida que a padrão de 1 GB.

Provedor Preço Disco CPU GB RAM Tempo de compilação Data Centers
Digital Ocean $6 25GB 1 1 10m US (2), NL, SG, UK, DE, CA, IN, AU
DO Otimizado $42 25GB 2 4 5m47s US (2), NL, SG, UK, DE, CA, IN
Hetzner CX22 (x86) €3.95 40GB 2 4 9m56s DE, FI, SG, US (2)
Hetzner CAX11 (arm64) €3.95 40GB 2 4 5m45s DE, FI
Lightsail $10 30GB 1 2 8m17s US (3), JP, SG, AU, IN
Linode 1024 $5 20GB 1 1 9m46s US (3), UK, DE, SG, JP
Scaleway E10 10GB 2 2 ---- FR, PL, NL
Upcloud $10 30GB 1 2 7m22s DE, FI, NL, JP, UK, US
Vultr $5 24GB 1 1 8m US (7), NL, FR, DE, UK, JP, SG, AU

Nota: Os tempos de compilação dependem da quantidade de posts, plugins e muitos outros fatores. Quanto mais seu site crescer, mais tempo levará.

Notas sobre os Provedores

Estas são notas sobre provedores individuais. Se você teve boas experiências com algum deles, sinta-se à vontade para adicionar seus comentários aqui. Se tiver críticas negativas, por favor, adicione-as como uma resposta.

Amazon AWS/Lightsail

Preços: https://aws.amazon.com/lightsail/pricing/

Super fácil! Clique em um botão para abrir uma janela com uma conexão SSH já logada.

Usa ubuntu@hostname em vez de root@hostname. Não é o que a maioria dos sites faz, mas é igual à AWS e um pouco mais seguro.

Digital Ocean

Preços: https://www.digitalocean.com/pricing/

Este é o provedor mais simples, mais fácil e mais utilizado, e desde a recente queda de preços, tornou-se novamente bastante competitivo. Um problema para pessoas fora dos EUA é que eles às vezes dificultam a criação de contas e bloqueiam portas SMTP de saída (meu script padrão de instalação contorna esse problema usando a porta 2525, que o Mailgun e outros provedores suportam).

Hetzner

Preços: 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

Nota: Remova o espaço de swap muito pequeno que é criado automaticamente. O discourse-setup criará um arquivo de swap de 2 GB para você.

Scaleway

Aceita cartões de crédito, débito e débito direto SEPA

Upcloud

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

Sem problemas ou frustrações ao criar uma conta e iniciar um servidor.

Vultr

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

Aceita PayPal, Bitcoin e Alipay

Não tive problemas ou frustrações ao criar uma conta e realizar uma instalação.

contabo.com:

Talvez o mais barato aqui: 4 núcleos/4 GB de RAM/5,80 USD + impostos. (a partir de 10 de março de 2025)

Alibaba Cloud

Servidor de Aplicação Simples, preço:

E quanto ao XXX?

Se você usa um provedor que é fácil de configurar e funciona de forma confiável, sinta-se à vontade para deixar um comentário com sua recomendação. Alternativamente, você pode editar esta postagem para adicionar suas próprias experiências.

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:

You need to consider what happens if you have a problem. At setup this is not a big problem but once you’ve launched your forum then downtime is bad news.

Provided you have no problems then self-hosting Discourse on a VPS is good value for a tight budget. But you only have to have one problem to consume 5-20 hours of your time. So how much is your time worth? And how constrained is your budget? Your solution will be somewhere between those two parameters.

I also recommend that you work out which plug-ins you are likely to need because that has a potential impact. Plug-ins appear to be the source of many of the difficult problems that face self-hosters so you can work out your risk profile by answering these questions. The higher the risk then the more attractive Discourse hosting becomes:

  • Do I need to use official plug-ins? Low risk.
  • Do I need to use third-party plug-ins ie. not officially supported? High risk.
  • Are they well-supported third-party plug-ins? Medium risk.

The Discourse hosting plans from various providers are partly based on varying collections of pre-installed plug-ins, e.g.: