Running Multiple Elasticsearch Nodes per VM to Bypass 32 GB Heap Limit Best Practice

I understand that a single Elasticsearch node shouldn’t have more than ~32 GB of JVM heap, but can I run multiple Elasticsearch containers (Let’s say 2) on the same machine with their heap set to 32 GB whilst having the host machine it’s running on more than 128 GiB RAM?

Why or why not?

Thanks in advance for your insights!

Yes, naturally you can do that. This is what e.g. Elastic Cloud does.

1 Like