Upload
aws-ninja
View
423
Download
2
Embed Size (px)
Citation preview
Understanding Amazon AWS EC2 - t2 Instance type CPU Credits
t2 CPU credits accumulation
and burst rate explained in visual manner
Presented by : http://www.aws-simplified.com
http://www.aws-simplified.com 2
Typical CPU Consumption: CPU Credits are used as they are accumulated. No credits expire during baseline performance.
T2 promises baseline performance which is always available. This should be your regular load requirement.
1
http://www.aws-simplified.com 3
The CPU credits accumulate when the instance is idle or compute usage is below baseline performance.
The EC2 t2 instance is suitable for variable load with periodic burst performance.
2
http://www.aws-simplified.com 4
The credits are accumulated in a finite sized credit bucket.
The periodic burst performance is made possible for the CPU credit bucket.
3
http://www.aws-simplified.com 5
The CPU credits have expiry stamped on them. Unused credits are lost after expiry time period.
Select the instance size accordingly to optimally use the credits without losing much to expiry.
4
http://www.aws-simplified.com 6
Burst rate is really like opening a tap to empty the vessel. You can use what you have accumulated
The t2 credit buckets make it possible to achieve periodic higher performance provided by larger EC2 instances at lower price
5
http://www.aws-simplified.com 7
Burst rate consumption will continue as long as bucket has enough credits.
The Amazon EC2 makes the transition from burst rate to baselines as gradual as possible to avoid shock to your application.
6
http://www.aws-simplified.com 8
As the credits bucket comes close to being empty the CPU credits consumption will be gradually throttled to baseline level The Amazon EC2 makes the
transition from burst rate to baselines as gradual as possible to avoid shock to your application.
7
http://www.aws-simplified.com 9
Once the credits are depleted the t2 instance performance only at baseline performance.
T2 instance is highly useful in cutting down AWS costs is usage patterns are designed to match the credits burst rate consumption.
8