ELK Architecture Distribution for Hardware to Achieve high availability

I want to know how to distribute the nodes VMs across the physical servers to achieve HA my cluster will be contain of these specs below and I want to make something like this

If you assume every rectangle is a physical server