How do I diagnose high CPU utilization on an EC2 Windows instance?
Last updated: 2022-09-14
My Amazon Elastic Compute Cloud (Amazon EC2) Windows instance is experiencing high CPU utilization, and I want to understand why.
First, determine your Amazon EC2 instance type to identify the correct resolution:
- Open the Amazon EC2 console, and then choose Instances from the navigation pane.
- Select the instance that you want to troubleshoot. On the Description tab, note the Instance type.
- (T2 or T3 instances only) For Actions, choose Instance Settings, Change T2/T3 Unlimited. Note whether T2/T3 Unlimited is enabled or disabled.
- Follow the instructions in the section below that corresponds to your instance type and use case.
After you determine the specific process causing high CPU utilization, you can troubleshoot that application.
T2/T3 Unlimited is disabled on my T2 or T3 instance, and I'm not sure if my CPU is being throttled
You can check the CPU Credit Balance and the CPU within the operating system (OS) to verify if your CPU is being throttled. For instructions, see How can I find out if the CPU on my T2 or T3 EC2 Windows instance is being throttled?
T2/T3 Unlimited is disabled on my T2 or T3 instance, and I know that my CPU is being throttled
If your CPU is throttled, you can either activate T2/T3 Unlimited, or change the instance type. For more information, see How can I resolve high CPU utilization on my T2 or T3 EC2 Windows instance if my CPU is being throttled?
T2/T3 Unlimited is enabled on my T2 or T3 instance
My T2 or T3 instance isn't being throttled, and I need help with investigating at the OS level