Interview Prep/AWS/EC2, Auto Scaling and Load Balancing

An EC2 instance is running at 100 percent CPU with CPU credits at zero. What happened?

IntermediateScenarioEC2, Auto Scaling and Load Balancing
Answer

Situation read → A burstable T-family instance exhausted its credits and is throttled to baseline.

What I'd do →

  1. Confirm CPUCreditBalance in CloudWatch
  2. Switch to unlimited mode: aws ec2 modify-instance-credit-specification
  3. Or right-size to M or C family
  4. Or scale out with an ASG
  5. Compare costs; unlimited bills surplus credits

Why → T instances are cheap only for low average CPU; sustained load needs fixed-performance instances.

Interview tip → Never run steady production CPU on T-class without unlimited.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing