Machine requirement for self-host
Does anyone know a recommendation for self-hosting using a Docker container? I can say that 1 vcore and 1 GB RAM is not enough, even just to get the services run.
7 Replies
Well i suggest you would minimum require 2 gb of ram to run all the services with overall system stability. But if you remove some services like for e.g : I did not require embed and widget. And I was able to run within 1-1.5 GB of ram. If you choose to isolate redis and mongo it will be quite better.
In case of cores i suggest to go for 2 cores that is not shared. Else notification processing will be slower.
Well this is completely based on my experience. The real benchmark may differ .
I can share the memory and CPU usage details as per each service if you want.
@Stephen, you just advanced to level 1!
That is the core teams experience also, in production we run 2vcpu and 4gb ram. For all containers, though some could be less.
Thanks, I was not aware that embeds and widgets are removable. I did try decoupling redis and mongo though. At the moment, I want to see how far it can be reduced. It would be great to learn about your usage details.
S3, redis, and mongodb are required though.
s3 for attachements
redis for queue and caching
mongodb for state
Not an expert here but just wanted to weigh in. We were only able to deploy from an EC2 by setting the storage to at least 10gb. This is with deploying MongoDB and the front end. Removing these to just use the bare bones API and a secular database instance would have optomized this quite a bit I'm sure.
Thanks for your input it's much appreciated!