Rule Description
Rule Code: AWS-EC2-Idle
Identify and consider to remove any EC2 instances with low CPU utilization.
The average CPU utilization has been less than 1% for the last 7 days.
Audit / Verification
Step 01: Sign in to the AWS Management Console.
![AWS Console login](https://cdn.dxcloudsuite.io/wp-content/uploads/2021/08/image.png)
Step 02: Access to EC2 dashboard. In the navigation panel, choose Instances
![Navigate EC2](https://cdn.dxcloudsuite.io/wp-content/uploads/2021/11/25212912/aws-ec2-search-service-1024x446.png)
Step 03: Select the EC2 instance that you need to check:
![](https://cdn.dxcloudsuite.io/wp-content/uploads/2021/07/26174004/aws-generic-instance-select-one.png)
Step 04: Select the Monitoring tab from the dashboard bottom panel. In the CloudWatch metrics section, follow these steps as below:
- Click on the CPU Utilization (Percent) usage graph to verify the instance CPU usage for the last 7 days.
- Verify if the average usage (percent) has been less than 1%
![](https://cdn.dxcloudsuite.io/wp-content/uploads/2021/07/26174706/EC2-CPU-Monitoring-1024x232.png)
Step 05: Repeat steps no. 4 to verify the CPU available in the last 7 days for the other EC2 instances in the current region.
Step 06: Switch to the other AWS regions and follow the same above audit process.