So far we’ve been using the t3 family to cover all the basic workloads (drivers, dns, ingress, apps which don’t spike) and allowing larger instance types in the autoscaler for applications that demand more or need to scale. The latter are usually paired with affinity/node selectors then.
Given the large amount of instance types and the rather low savings for the t3 family in compute saving plans, I was wondering if there is another instance family which might possibly be better suited for these workloads?
What is everyone using?
Specifically, our PROD cluster is currently running on one t3.large and two t3.medium which serve around 10 services in HA mode.
I saw a presentation recently about an EKS agent that would monitor the spot market and automatically adjust to maximize value. I.e. if you have everything set up for t3.large but it sees a great deal on t3.xlarge on spot it will take the deal and pack your containers on half the number on instances.
Other answers answered this well enough, with Cx/Mx instances etc.
I just wanted to remind everyone, please make sure to either use t3 unlimited or to monitor and alert on your cpu credits overages. Your system and services could be significantly impacted, degraded or down when you run out of cpu credits. NOTE: it’s never “if” it will happen, but when. And the “when” is usually the worst time (eg: when you start to succeed as a business and get some serious traffic/attention, etc).
Reference: Walked into so many environments using tx instances with no concept or knowledge of cpu credits