🛡️ AWS RDS Instance is overutilized🟢
- Contextual name: 🛡️ Instance is overutilized🟢
- ID:
/ce/ca/aws/rds/instance-overutilized - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
COST,PERFORMANCE
Logic
Description
Description
This policy identifies Amazon RDS database instances that operate at high utilization levels that may be overburdened and require scaling or resizing to maintain optimal performance. An instance is flagged as overutilized if its average CPU utilization has exceeded 90% over the last 30 days.
Rationale
Overutilized RDS database instances often struggle to meet workload demands, leading to degraded application performance and potential downtime. Proactively identifying these instances allows for timely resizing to a more appropriate instance class, ensuring optimal performance, reliability, and a better user experience for applications relying on the database.
Impact
Scaling or resizing incurs additional costs. Implementing scaling strategies allows workloads to adapt dynamically to changing demand, preventing performance bottlenecks.
Audit
This policy evaluates an AWS RDS Instance based on its 30-day performance metrics.
The Instance is marked as
INCOMPLIANTif itsCPU Utilization, Average, %metric is greater than 90%.... see more
Remediation
Remediation
Right-Size Underutilized Instances
Key considerations
- Ensure that the new instance class supports your workload and storage requirements.
- Coordinate with application owners before resizing to avoid unexpected performance issues.
- Prefer applying changes during a maintenance window for production workloads to minimize downtime.
Downsize the DB instance
From AWS CLI
To apply during the next maintenance window (recommended for production):
aws rds modify-db-instance \
--db-instance-identifier {{db-instance-id}} \
--db-instance-class {{new-instance-class}} \
--apply-immediately falseTo apply immediately (causes a brief outage while resizing):
aws rds modify-db-instance \
--db-instance-identifier {{db-instance-id}} \
--db-instance-class {{new-instance-class}} \
--apply-immediately true
policy.yaml
Linked Framework Sections
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| 💼 Cloudaware Framework → 💼 Resource Right-Sizing | 15 | no data | |||
| 💼 Cloudaware Framework → 💼 Workload Efficiency | 24 | no data |