Which instance types are you using on EKS for "basic workloads"?

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.

For general purpose, it’s m6a on bottlerocket for consistent workloads and t3 if we need burst abilities.

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.

I didn’t write down the name though.

c6, r6, m6 :wink:

Autospot

You are thinking 7

I hunted it down and karpenter was the one I saw, but I’ll look at that one too.

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

We just let Karpenter figure it out.