Our T2.small EC2 instance continues to do its usual 10-15% usage but the CPU credit balance has gone up to maximum and stayed there:
I have contacted AWS support but they just send me a link explaining how credit balance works. I know that this isn't technically a "problem" for us, but this is our important Production Server and it makes me a bit nervous. Has anyone had an issue like this with an EC2 instance?
UPDATED ANSWER: From https://forums.aws.amazon.com/ann.jspa?annID=5196 -
Previously, earned CPU Credits had a 24-hour expiry period. Now, earned CPU Credits do not expire until the instance is terminated or stopped.
A
t2.small
instance type can use 20% CPU before it starts using CPU credits.Your CPU is only using between 10% and 15%. Thus, you're collecting CPU credits faster than you're using them. Your credits will continue to rise until it hits the maximum, where it just stays.
To lower your CPU credit balance, start using more than 20% of your CPU.
You don't have a problem.
However, you could investigate to see if a
t2.micro
may work for your use case.Source: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html#t2-instances-cpu-credits