CPU credit balance suddenly dropped for my instance - AWS

0 votes
I am using a T2 EC2 instance and the CPU credit balance suddenly dropped for my instance. Why did this happen?
Oct 21, 2019 in AWS by Hannah
• 18,570 points
1,511 views

1 answer to this question.

0 votes

Hi @Hannah, when you stop your instance all your acquired credits are removed. When you relaunch an instance you have zero acquired credits and only left with launch credits. 

So basically your CPU credit balance increases if the credits spent are less than credits earned in the first 5-minute interval for starting the instance and vice versa. 

Mathematically your earned credits can be calculated using the following formula:

CPUCreditBalance = prior CPUCreditBalance + [Credits earned per hour * (5/60) - CPUCreditUsage]

For monitoring your CPU credits, have a look at this: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-monitoring-cpu-credits.html

answered Oct 21, 2019 by Imran

Related Questions In AWS

0 votes
3 answers

What is CPU Credit Balance in EC2 for AWS?

When you use fewer CPU resources then ...READ MORE

answered Nov 30, 2018 in AWS by Aniket
2,077 views
0 votes
1 answer

How do I enable SSH for my AWS-EB instance?

Using the EB CLI to do eb ...READ MORE

answered Oct 9, 2018 in AWS by Archana
• 4,170 points
2,696 views
+1 vote
1 answer

What AWS EC2 instance is more suitable for Chat Application?

I would recommend starting with a T2.micro ...READ MORE

answered Jul 10, 2018 in AWS by Priyaj
• 58,090 points
652 views
0 votes
1 answer

What is CPU Credit Balance in EC2?

CPU Credit regulates the amount CPU burst ...READ MORE

answered Jul 12, 2018 in AWS by Priyaj
• 58,090 points
800 views
0 votes
1 answer

Using Shapely on AWS Lambda with Python 3

For some reason, the pip install of ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 58,090 points
2,567 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can I just increase the size of my root disk on AWS EC2 for use with Elastic Beanstalk?

This can be done using the following ...READ MORE

answered Nov 12, 2018 in AWS by Archana
• 5,640 points
2,897 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP