โญ Repository โ ๐ Compliance Engine โ ๐ CloudAware โ ๐ AWS โ ๐ RDS
๐ก๏ธ AWS RDS Instance is underutilized๐ข
- Contextual name: ๐ก๏ธ Instance is underutilized๐ข
- ID:
/ce/ca/aws/rds/instance-underutilized
- Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY
- Policy Categories:
COST
,PERFORMANCE
Logicโ
- ๐ง prod.logic.yaml๐ข
Descriptionโ
Descriptionโ
This policy identifies Amazon RDS database instances that appear to be underutilized based on their performance metrics over the last 30 days. An instance is flagged as underutilized if it meets the following conditions:
- Average CPU utilization has been below 20%.
- Average disk read IOPS has been under 50.
- Average disk write IOPS has been under 50.
Rationaleโ
Right-sizing underutilized RDS instances helps reduce costs while maintaining application performance. Aligning resources with actual workload requirements ensures efficient use of infrastructure and prevents unnecessary spend.
Impactโ
It is crucial to analyze performance data carefully before resizing to avoid any negative impact on application availability or responsiveness.
Auditโ
This policy evaluates an RDS Instance based on its 30-day performance metrics.
The Instance is marked as
INCOMPLIANT
if all the following criteria are met:
CloudWatch: CPU, 30-Day
metric is less than 20%.CloudWatch: Disk Read IOPS, 30-Day
metric is less than 50 IOPS.... 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.
Downsize the DB instanceโ
From Command Lineโ
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 |