Sizing question in AWS


I would like to know if there are any feedback in terms of instance sizing. I would like to host discourse web_only on kubernetes, with an externalized postgres and redis hosted on rds and elasticache, and something like 2000 users. (not sure about post amount, we’re migrating from another system to which i don’t have access)

Does anyone have some feedbacks on the worker nodes sizing, postgres instance type & redis instance type ?


so many piece for one puzzle. it just opens you up for sooo many things to go wrong.

1 Like

My question is very naïve as I understand only half of the words you’ve used, but why not rely on the official way to install Discourse?

This strongly depends on your traffic load, but since these are all fairly easy to change, I’d recommend you pick a size and see how well it performs. Aiming for between 3-10 app nodes to handle normal traffic is probably a good plan.

As long as the deployed images are built with our launcher script, this would be a supported configuration. This would correspond to our web_only sample config which they’ve already said they’re using.

We wouldn’t be able to help with the Kubernetes side of things though.


My question is even naivier than @Canapin’s but are you expecting really big growing? Because with 2000 users you don’t need such scaling ability. Or are you planning ths just because you can (nothing wrong in that too)?

1 Like

To answer to the various questions, i’d say that, first we have k8s big fans in the team, and this is a opportunity - as we can afford it its cool - to do stuff on our lovely cluster.

Indeed so many pieces to the puzzles, we’re also considering only bringing up like two machines with the web only template and keeping DB and redis on dedicated machines, would, really ease the deployment process.

And yes, we’ll adjust the worker nodes if we see them loaded, but we were a bit wondering on where to start, 2cpus 4gos looked a good start to me, but with feedback i would be more confortable :slight_smile:

1 Like

You’ll need to either use the unsupported bitnami image or figure out how to use ./laucher to build your image and then push it somewhere that you can get k8s to crank it up. It’s not immediately apparent just how to do that.

1 Like