CPU Credit Balance
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html
Baseline utilization
(number of credits earned/number of vCPUs)/60 minutes = % baseline utilization
A t3.xlarge
instance, with 4 vCPUs, earns 96 credits per hour, resulting in a baseline utilization of 40% (``(96/4)/60`).
EBS Burst Balance
https://aws.amazon.com/blogs/database/understanding-burst-vs-baseline-performance-with-amazon-rds-and-gp2/
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html
What happens if I empty my I/O credit balance?
If your gp2
volume uses all of its I/O credit balance, the maximum IOPS performance of the volume remains at the baseline IOPS performance level (the rate at which your volume earns credits) and the volume’s maximum throughput is reduced to the baseline IOPS multiplied by the maximum I/O size.
example: 100GiB gp2
with an empty credit balance has a baseline performance of:
- 300 IOPS
- throughput limit of 75MiB/s (300 IOPs * 256KiB per IOO = 75MiB/s)
Throughput performance
Throughput for a gp2
volume can be calculated using the following formula, up to the throughput limit of 250MiB/s
Throughput in MiB/s = ((Volume size in GiB) × (IOPS per GiB) × (I/O size in KiB))
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-instance-slow-cpu-not-high/
VolumeReadOps = 737,000 VolumeWriteOps = 199,000 Total = 936,000
To estimate how many IOPS you need to divide by the number of seconds of that measurement
Measurement interval = 5 minutes (300seconds) 936,000 / 300 = 3,120 IOPS
Network Performance Baseline
https://cloudonaut.io/ec2-network-performance-cheat-sheet/
Optimizing Lambda Costs
https://aws.amazon.com/blogs/compute/optimizing-your-aws-lambda-costs-part-1/?trk=global_employee_advocacy&sc_channel=sm&advocacy_source=everyonesocial&es_id=fd6f49fdcd