The documentation for EC2 T2 "burstable" types say:
The baseline performance and ability to burst are governed by CPU
credits. Each T2 instance continuously receives CPU credits at a set
rate, depending on the instance size. T2 instances accrue CPU credits
when they are idle, and use CPU credits when they are active. A CPU
credit provides the performance of a full CPU core for one minute.
What I don't understand is what does idle mean? All instances use some CPU > 0%, so is there are CPU usage figure under which the instance is considered to be "idle"?
Surprisingly, given the liberal usage of this term, I cannot find a definition of "idle" anywhere.
Best Answer
Good question, the Amazon EC2 documentation for CPU Credits in T2 Instances could be more precise here indeed - the introductory blog post New Low Cost EC2 Instances with Burstable Performance provides a better explanation, see the table in the middle: