t2.medium as an EKS node

2 vCPU4 GiBx86_64Intel Xeon FamilyAWS us-east-1T2 Medium

Where the t2.medium goes

Default EKS setup: EKS, VPC CNI default (ENI limit).

CPU1.73 of 2 vCPU left for your pods
Memory3.18 GiB of 4 GiB left for your pods
your podsDaemonSets (200m, 300 MiB assumed)kubelet reservedeviction
17max pods per node
$33.87on demand / month · $0.0464/h
$11.98spot / month (varies)

Will my pods fit on one t2.medium?

t2.medium EKS max pods and allocatable memory — quick answers

What kubelet reserves on t2.medium

SetupMax podskube-reserved CPUMemory reserved + evictionAllocatable CPUAllocatable memoryMemory usable
EKS, VPC CNI default (ENI limit)
secondary IPs per ENI
1770m442 Mi + 100 Mi1.933.47 GiB86.8%
EKS, prefix delegation
ENABLE_PREFIX_DELEGATION=true
11070m1465 Mi + 100 Mi1.932.47 GiB61.8%

How these numbers are computed: reservation formulas. How many subnet IPs a t2.medium takes with the VPC CNI: EKS max pods and IP calculator. Check a live node with kubectl describe node → Allocatable.

How many pods fit on one t2.medium

Assumes DaemonSets (CNI, kube-proxy, log and metrics agents) request 200m CPU, 300 Mi and 3 pods per node. Try your own numbers in the node calculator.

Pod requests (CPU / memory)EKS, VPC CNI default (ENI limit)EKS, prefix delegation$ per pod / month
100m / 128 Mi1417$2.42
250m / 256 Mi66$5.65
250m / 512 Mi64$5.65
500m / 512 Mi33$11.29
500m / 1024 Mi32$11.29
1000m / 1024 Mi11$33.87
1000m / 2048 Mi11$33.87
2000m / 4096 Mi00—
4000m / 8192 Mi00—

Similar EKS node types

TypevCPUGiBAlloc CPUAlloc memoryMax pods$/month$ per alloc GiB
t4g.medium241.933.47 GiB17$24.53$7.07
t3a.medium241.933.47 GiB17$27.45$7.91
t3.medium241.933.47 GiB17$30.37$8.75
t8i.medium241.932.47 GiB110$36.44$14.74
c6g.large241.933.34 GiB29$49.64$14.85
c7g.large241.933.34 GiB29$52.92$15.84
c6a.large241.933.34 GiB29$55.84$16.71
c6gd.large241.933.34 GiB29$56.06$16.78

Closest match on other clouds

TypevCPUGiBAlloc CPUAlloc memoryMax pods$/month$ per alloc GiB
e2-medium240.942.90 GiB110$40.38$13.91
d2plsv6241.902.90 GiB250$45.26$15.59
n4a-highcpu-2241.932.90 GiB110$47.42$16.34
d2plsv5241.902.90 GiB250$49.64$17.10
n4d-highcpu-2241.932.90 GiB110$52.17$17.97
c2d-highcpu-2241.932.90 GiB110$54.72$18.85