Spending a lot of time to find the best memory-optimized instance but also it should have amd64 as architecture because the current version of EKS is not well compatible with arm64 cpu architecture.
The happy day came when i visited the home page of this software :
A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory. There are…
ec2-instance-selector --memory 16 --vcpus 4 --cpu-architecture amd64 -r ap-southeast-1