For self-managed deployments there is such ratio recommendations, you can check it in the documentation here and you will see that this is not mentioned anywhere.
This is up to the user, you do not need to follow those ratios.
For example, when I had an on-premise deployment my hot nodes had 64 GB of RAM (30 GB HEAP) and 4 TB disks, and the warm nodes had 16 GB of RAM (8GB HEAP) and 10 TB disk.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.