Hacker News new | ask | show | jobs
by alberts00 3296 days ago

  You should only use T2 instances within an auto-scaling group.
Could someone please elaborate? I always thought this is a horrible idea because upon CPU credit exhaustion the AWS metrics show CPU utilisation including the burst. For example, if you run out of CPU credits for t2.micro it will show around 15% in AWS whilst on the instance itself you will see 100%.
2 comments

Using t2 rds in production for 1 year for some stuff at work. We used cloudwatch to monitor the cpu credit balance. Moved from t2 small to t2 medium. Fixed some queries that used too much cpu. Still running strong. Never had down time.
i think you can alarm on remaining CPU credits: https://serverfault.com/a/828193