How can I resolve high CPU utilization on my T2 or T3 EC2 Windows instance if my CPU is being throttled?

2 minute read
0

My T2 or T3 Amazon Elastic Compute Cloud (Amazon EC2) Windows instance is experiencing high CPU utilization because my CPU is being throttled.

Resolution

To resolve CPU throttling, you can either change the credit specification to unlimited, or change the instance type.

Change the credit specification to unlimited (no downtime)

This solution has no downtime, but it might cost more, especially when the instance bursts often.

To change the credit specification to unlimited, complete the following steps:

  1. Open the Amazon EC2 console.
  2. In the navigation pane, choose Instances.
  3. Select the instance that's being throttled.
  4. Choose Actions, Instance settings, Change credit specification.
  5. In the Change credit specification dialog box, select your instance ID, and then choose Save.

Note: If you still see high CPU utilization after you change the credit specification, then perform additional troubleshooting steps. For more information, see How do I diagnose high CPU utilization on my EC2 Windows instance when my CPU isn't being throttled?

Change the instance type (requires instance stop and start)

If your instance often bursts, then changing the instance type lets you select an instance that meets your performance needs. You must stop and start your instance before you can change the instance type.

Note: Before making any significant changes, it's a best practice to create a backup of your instance. You can use Amazon Elastic Block Store (Amazon EBS) to create snapshots for data backups. For more information, see Create Amazon EBS snapshots for Windows.

You can change your instance to one of the following instance types:

  • A T2 or T3 instance type with a higher CPU credit limit.
  • An instance type that doesn't use a CPU credits model.

For more information, see Change the instance type.

Related information

How can I find out if the CPU on my T2 or T3 EC2 Windows instance is being throttled?

AWS OFFICIAL
AWS OFFICIALUpdated 8 months ago