Proveedores de hosting recomendados para autoalojadores

Esta guía está dirigida a personas que no son administradores de sistemas y que simplemente quieren hacer que Discourse funcione. Esta es una lista de servicios de alojamiento en la nube que se cree que son confiables y lo suficientemente sencillos para que un novato los configure y ponga en marcha con la menor cantidad de ajustes posible. Deberías poder crear una cuenta y un servidor en el que ejecutar tu instancia de Discourse y aún así lograrlo en aproximadamente 30 minutos.

He instalado Discourse en cada uno de estos servicios, recibido un correo electrónico de Discourse y lo he utilizado para iniciar sesión como administrador. Para todos ellos, las instrucciones estándar de Instalación en la nube funcionan perfectamente.

¿Qué hay de AWS, Azure y Google Cloud?

Si has pasado muchas horas usando bash, sabes qué son los puertos 80, 443 y 22, y estás familiarizado con firewalls, particiones y qué es un bucket de S3, cualquiera de estos funcionará perfectamente. Si nunca has encontrado una solución a tu problema usando Stack Exchange, probablemente deberías mantenerte alejado de estos proveedores. Estos son los coches deportivos exigentes del mundo del alojamiento. Esta guía está diseñada para ayudarte a encontrar algo más parecido a un Honda Civic que a un coche de Fórmula 1.

¿Qué hay de OtherGreatService?

Fácil y confiable

La siguiente tabla proporciona una comparación de estos proveedores fáciles de usar. La columna “Tiempo de compilación” es el resultado de:

time ./launcher rebuild app

No es una prueba de referencia significativa, sino una medida aproximada de la velocidad de la CPU, el disco y la red. Tus resultados pueden variar. Sin embargo, puedes ver que la instancia “optimizada” de Digital Ocean es casi el doble de rápida que la estándar de 1 GB.

Proveedor Precio Disco CPU GB RAM Tiempo de compilación Centros de datos
Digital Ocean $6 25GB 1 1 10m EE. UU. (2), NL, SG, UK, DE, CA, IN, AU
DO Optimizada $42 25GB 2 4 5m47s EE. UU. (2), NL, SG, UK, DE, CA, IN
Hetzner CX22 (x86) €3.95 40GB 2 4 9m56s DE, FI, SG, EE. UU. (2)
Hetzner CAX11 (arm64) €3.95 40GB 2 4 5m45s DE, FI
Lightsail $10 30GB 1 2 8m17s EE. UU. (3), JP, SG, AU, IN
Linode 1024 $5 20GB 1 1 9m46s EE. UU. (3), UK, DE, SG, JP
Scaleway E10 10GB 2 2 ---- FR, PL, NL
Upcloud $10 30GB 1 2 7m22s DE, FI, NL, JP, UK, EE. UU.
Vultr $5 24GB 1 1 8m EE. UU. (7), NL, FR, DE, UK, JP, SG, AU

Nota: Los tiempos de compilación dependen de la cantidad de publicaciones, complementos y muchos otros factores. A medida que crece tu sitio, tardará más.

Notas sobre los proveedores

Estas son notas sobre proveedores individuales. Si has tenido buenas experiencias con alguno de ellos, siéntete libre de agregar tus comentarios aquí. Si tienes malas experiencias, por favor agrégalas como una respuesta.

Amazon AWS/Lightsail

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

¡Súper fácil! Haz clic en un botón para abrir una ventana con una conexión SSH iniciada sesión.

Utiliza ubuntu@hostname en lugar de root@hostname. No es lo que hacen la mayoría de los sitios, pero es igual que AWS y algo más seguro.

Digital Ocean

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

Este es el proveedor más simple, fácil y utilizado, y desde la reciente bajada de precios, es nuevamente muy competitivo. Un problema para las personas que no están en EE. UU. es que a veces dificultan la creación de una cuenta y bloquean los puertos SMTP salientes (mi script de instalación estándar resuelve este problema usando el puerto 2525, que Mailgun y otros proveedores admiten).

Hetzner

Precios: 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: Elimina el espacio de intercambio demasiado pequeño que se crea automáticamente. discourse-setup creará un archivo de intercambio de 2 GB para ti.

Scaleway

Acepta tarjetas de crédito y débito, así como débito directo SEPA.

Upcloud

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

No hubo problemas ni frustraciones al crear una cuenta y poner en marcha un servidor.

Vultr

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

Acepta PayPal, Bitcoin y Alipay.

No tuve problemas ni frustraciones al crear una cuenta y realizar una instalación.

contabo.com:

Quizás el más barato aquí: 4 núcleos/4 GB de RAM/5.80 USD + impuestos. (a partir del 10 de marzo de 2025)

Alibaba Cloud

Servidor de aplicaciones simple, precio:

¿Qué hay de XXX?

Si utilizas un proveedor que sea fácil de configurar y funcione de manera confiable, siéntete libre de dejar un comentario con tu recomendación. Alternativamente, puedes editar esta publicación para agregar tus propias experiencias.

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:

Debes considerar qué sucede si tienes un problema. Al principio, esto no es un gran inconveniente, pero una vez que hayas lanzado tu foro, los tiempos de inactividad son muy negativos.

Si no tienes problemas, el autoalojamiento de Discourse en un VPS es una buena opción para presupuestos ajustados. Sin embargo, con solo un problema puedes consumir entre 5 y 20 horas de tu tiempo. Entonces, ¿cuánto vale tu tiempo? ¿Y qué tan limitado es tu presupuesto? Tu solución estará en algún punto entre esos dos parámetros.

También te recomiendo que determines qué complementos es probable que necesites, ya que esto puede tener un impacto potencial. Los complementos parecen ser la fuente de muchos de los problemas difíciles que enfrentan quienes se autoalojan, por lo que puedes evaluar tu perfil de riesgo respondiendo a estas preguntas. Cuanto mayor sea el riesgo, más atractivo resultará el alojamiento de Discourse:

  • ¿Necesito usar complementos oficiales? Riesgo bajo.
  • ¿Necesito usar complementos de terceros, es decir, no oficialmente compatibles? Riesgo alto.
  • ¿Son complementos de terceros bien compatibles? Riesgo medio.

Los planes de alojamiento de Discourse de diversos proveedores se basan parcialmente en diferentes colecciones de complementos preinstalados, por ejemplo: