
The bigger you go, the lower the base performance by vCPU is.Įven without the loss in term of base performance, you have many reasons to choose more small instances: better HA in multi AZ, easier horizontal scaling, better N+1 metricsīut with T2 large+ instances even the AWS pricing strategy pushes you away from a single instance. I have a better base rate that I can run forever as average for cCPU running 4 nodes of t2.large (I would be able to average 30% on every vCPU) versus running a single t2.2xlarge (where I have a base performance of less than 17% on every vCPU) for the very same price. But what about the base performance? Instance Base PerformanceĪ t2.2xlarge is not equivalent to 4 t2.large. So a t2.2xlarge is equivalent to 4 t2.large. So far so good, the price per hour doubles according to vCPU and Memory.

A lot more flexibility and a class that can cover many use cases with the chance of vertical scaling but finally the linear grow was broken: Instance RAM Credits/hr Price/hr So far so good.Īt the end of 2015, AWS introduced an even smaller instance, the t2.nano but the approach was still the same: Instance Base RAM Credits/hrīut AWS extended the T2 class in the large range too, having first a t2.large in June 2015 and t2.xlarge and t2.2xlarge at the end of 2016. A t2.medium was effectively equivalent to 2 small instances or 4 micro instances. Instance Base RAM Credits/hrĪnd price too. medium) and base performance, RAM and CPU Credits were very clear, growing linearly. Originally there were only 3 instance types ( t2.micro, t2.small and t2.
T2.medium ec2 pricing how to#
It took a while for the users to fully understand the benefits of the new class and how to compute and monitor CPU credits but the choice between different instance types was very straightforward.

Many interesting compute workloads follow a similar pattern, with modest demands for continuous compute power and occasional needs for a lot more. Most of the time I am using just a fraction of the power that is available to me.

As Jeff Barr wrote in 2014:Įven though the speedometer in my car maxes out at 150 MPH, I rarely drive at that speed (and the top end may be more optimistic than realistic), but it is certainly nice to have the option to do so when the time and the circumstances are right. Almost three years ago AWS launched the now very popular T2 instances, EC2 servers with burstable performance.
