I want to calculate my burst credit billing on my Amazon Elastic Compute Cloud (Amazon EC2) instance.
Resolution
Note: Burst credit billing applies to only burstable Amazon EC2 instance types such as T4g, T3a, T3, and the previous generation T2.
To calculate burst credit billing, check whether you run the burstable instance in standard mode or unlimited mode. To check or change the mode of your instance, see Manage the default credit specification for an AWS account.
Then, take the following actions based on your instance mode.
Billing in standard mode
In standard mode, use the standard On-Demand hourly rate for your instance type to calculate your billing.
Billing in unlimited mode
In unlimited mode, calculate your billing based on your CPU and credit usage.
The hourly instance price automatically covers all CPU usage spikes for the shorter of the following periods:
- The time that the instance's average CPU utilization is at or below the baseline over a rolling 24-hour period.
- The instance's lifetime.
If the instance runs at a higher CPU usage than the baseline for a prolonged period, then you're charged a flat additional rate for each vCPU-Hour. For more information about baseline CPU usage, see Amazon EC2 T3 instances.
If your instance depletes its accrued credit balance, then you're charged for the surplus credits that the instance uses.
For examples of how to calculate burst credit billing for EC2 burstable instances in unlimited mode, see Unlimited mode examples for burstable instances.
Related information
Key concepts for burstable performance instances