AWS EC2 has 2 different types of instances: Fixed Performance Installations (such as M3, C3, etc.) and Advanced Performance Instances (such as T2). Fixed Performance Instances provides consistent CPU performance, while Burstable Performance Instances provides baseline CPU performance under normal workload. But when the workload increases Burstable Performance Instances , there is the possibility of exploding, i.e. Improve CPU performance.
CPU credit controls the number of processor packets in an instance. You can spend this CPU loan to increase CPU performance during the surge. Suppose you use an instance with 100% processor performance for 5 minutes, you spend 5(ie 5*1.0) CPU Credit. Similarly, if you run an instance with 50% of the processorβs performance within 5 minutes, you will spend 2.5(ie 5*0.5) CPU Credits.
A CPU loan balance is simply the amount of a CPU loan available in your account at any time.
When you create an instance, you will receive an initial processor loan . At each hour, you automatically receive a certain amount of CPU credits (this amount depends on the type of instance). If you have not exploded the performance of the CPU, then the CPU Credit will be added to your credit balance of your account. If you lose processor credit (i.e., the CPU credit balance turns to 0), your instance will work at basic performance.
Read more about CPU Credits here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html#t2-instances-cpu-credits
mostafiz rahman Apr 6 '15 at 9:19 2015-04-06 09:19
source share