Issue
I'm choosing instances do run microservices on an AWS EKS cluster.
When reading about it on href="https://aws.amazon.com/pt/premiumsupport/knowledge-center/ec2-instance-choose-type-for-workload/" rel="nofollow noreferrer">this article an taking a look on the aws docs it seems that choosing many small instances instead of on larger instance results on a better deal.
There seems to be no downside on taking, for instance, 2 t3.nano (2 vCPU / 0.5GiB each) vs 1 t3.micro (2 vCPU / 1GiB each). The price and the memory are the same but the CPU provided has a huge difference the more instances you get.
I assume there are some processes running on each machine by default, but I found no places metioning its impact on the machine resources or usage. Is it negligible? Is there any advantage on taking one big instance instead?
Solution
The issue is whether or not your computing task can be completed on the smaller instances and also there is an overhead involved in instance-to-instance communication that isn't present in intra-instance communication.
So, it is all about fitting your solution onto the instances and your requirements.
Answered By - Cargo23 Answer Checked By - Senaida (WPSolving Volunteer)